chiark / gitweb /
allow upgrade/dist-upgrade in apt-in-chroot
[dsa-metapackages.git] / apt-in-chroot
index 0fd9db87da2b9e94c421817e844ad121aa4d110f..ed052a3b72cfe11002e5a689d008169de600e539 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
        ;;
 *)