Mailinglist Archive: zypp-commit (38 mails)

< Previous Next >
[zypp-commit] <libzypp> master : Fall back to package selection if no packages are passed on the commandline.
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 31 Aug 2009 15:24:06 +0200
  • Message-id: <E1Mi6rx-0007yJ-22@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit e2f169872521cad818dc1574c2648a8e57b1478e
Author: Michael Andres <ma@xxxxxxx>
Date: Mon Aug 31 15:24:06 2009 +0200

Fall back to package selection if no packages are passed on the commandline.
---
package/libzypp.changes | 6 ++++++
tools/package-manager/package-manager | 14 +++++++++++---
2 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/package/libzypp.changes b/package/libzypp.changes
index b6feba3..35396d0 100644
--- a/package/libzypp.changes
+++ b/package/libzypp.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Mon Aug 31 15:17:01 CEST 2009 - ma@xxxxxxx
+
+- package-manager script: Fall back to package selection if no
+ packages are passed on the commandline. (bnc #529137)
+
+-------------------------------------------------------------------
Fri Aug 28 17:33:55 CEST 2009 - dmacvicar@xxxxxxx

- package-manager script:
diff --git a/tools/package-manager/package-manager
b/tools/package-manager/package-manager
index 596bf0a..57a51a9 100755
--- a/tools/package-manager/package-manager
+++ b/tools/package-manager/package-manager
@@ -148,16 +148,24 @@ do_remove() {
do_install() {
case "${METHOD}" in
yast)
- xsu /sbin/yast2 --install "$@"
+ xsu /sbin/yast2 --install "$@"
;;
zlm)
zen-installer "$@"
;;
kpackagekit)
- kpackagekit "$@"
+ if [ $# == 0 ]; then
+ xsu /sbin/yast2 --install
+ else
+ kpackagekit "$@"
+ fi
;;
gnome-packagekit)
- /usr/bin/gpk-install-local-file "$@"
+ if [ $# == 0 ]; then
+ xsu /sbin/yast2 --install
+ else
+ /usr/bin/gpk-install-local-file "$@"
+ fi
;;
esac
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages