Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:snorp
screen-profiles
screen_profiles_use_zypper.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File screen_profiles_use_zypper.patch of Package screen-profiles
=== modified file 'bin/updates-available' --- bin/updates-available 2009-03-18 19:15:52 +0000 +++ bin/updates-available 2009-03-25 16:01:36 +0000 @@ -93,6 +93,13 @@ 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"`
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor