[ James Wilcox ]

bin/updates-available: support SUSE's zypper
This commit is contained in:
Dustin Kirkland 2009-03-25 14:15:36 -05:00
commit c258e5911c
2 changed files with 12 additions and 1 deletions

View file

@ -93,6 +93,13 @@ if [ -x /usr/bin/apt-get ]; then
print_updates $u
fi
# If zypper exists, use it
if [ -x /usr/bin/zypper ]; then
u=`/usr/bin/zypper --no-refresh lu --best-effort | grep 'v |' | wc -l`
echo "$u" > $mycache
print_updates $u
fi
# If yum exists, use it
if [ -x /usr/bin/yum ]; then
u=`/usr/bin/yum list updates | grep -c "updates"`

6
debian/changelog vendored
View file

@ -1,12 +1,16 @@
screen-profiles (1.41) unreleased; urgency=low
[ Dustin Kirkland ]
* profiles/logos/gentoo: added a gentoo logo
* profiles/logos/mandriva: added a mandriva logo
* profiles/generate-profiles: reorganize cleaning and echo's
* debian/rules: generate profiles as part of the build, rather than
get-orig-source
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 20 Mar 2009 17:30:42 -0500
[ James Wilcox ]
* bin/updates-available: support SUSE's zypper
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 25 Mar 2009 14:14:49 -0500
screen-profiles (1.40-0ubuntu1) jaunty; urgency=low