implemenented 'pkgmgmt' command
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 18 Mar 2004 05:33:31 +0000 (05:33 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 18 Mar 2004 05:33:31 +0000 (05:33 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1300 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/scripts/vserver

index 048d715..7bd68f4 100755 (executable)
@@ -230,6 +230,12 @@ case "$2" in
        exec $_VPKG "$vserver" "$@"
        ;;
 
+    (pkgmgmt)
+       op=$3
+       shift 3
+       exec $_PKGMGMT ${op:+--$op} "$@" -- "$vserver"
+       ;;
+
     (apt-get|apt-config|apt-cache)
        export _APT_GET=$2
        shift 2