chiark / gitweb /
allow upgrade/dist-upgrade in apt-in-chroot
authorPeter Palfrader <peter@palfrader.org>
Fri, 24 Feb 2012 10:05:19 +0000 (11:05 +0100)
committerPeter Palfrader <peter@palfrader.org>
Fri, 24 Feb 2012 10:05:19 +0000 (11:05 +0100)
apt-in-chroot

index 0fd9db8..ed052a3 100755 (executable)
@@ -33,6 +33,8 @@ usage() {
        echo "          + purge"
        echo "          + build-dep"
        echo "          + update"
+       echo "          + upgrade"
+       echo "          + dist-upgrade"
 }
 
 
@@ -80,7 +82,7 @@ if ! [ -n "$requested_chroot" ]; then
 fi
 
 case "$APTCMD" in
-install|remove|purge|build-dep|update)
+install|remove|purge|build-dep|update|upgrade|dist-upgrade)
        # those are the allowed apt sub-commands
        ;;
 *)