diff --git a/bin/updates-available b/bin/updates-available index 46baba64..fcedcd1e 100755 --- a/bin/updates-available +++ b/bin/updates-available @@ -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"` diff --git a/debian/changelog b/debian/changelog index f07348b5..fe0b4e17 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 20 Mar 2009 17:30:42 -0500 + [ James Wilcox ] + * bin/updates-available: support SUSE's zypper + + -- Dustin Kirkland Wed, 25 Mar 2009 14:14:49 -0500 screen-profiles (1.40-0ubuntu1) jaunty; urgency=low