chiark / gitweb /
Add libsoap-lite-perl for the wiki
[dsa-metapackages.git] / apt-in-chroot
index 0702a00ce2be9a86eaab12e15979e65c4406e6b7..7126202770fc3cda2771196e4708aa57a31cb4c6 100755 (executable)
@@ -20,7 +20,7 @@
 #  Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
 # 
 
 #  Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
 # 
 
-PATH="/usr/bin:/bin"
+PATH="/usr/sbin:/usr/bin:/sbin:/bin"
 export PATH
 
 usage() {
 export PATH
 
 usage() {
@@ -35,6 +35,7 @@ usage() {
        echo "          + update"
        echo "          + upgrade"
        echo "          + dist-upgrade"
        echo "          + update"
        echo "          + upgrade"
        echo "          + dist-upgrade"
+       echo "          + clean"
 }
 
 
 }
 
 
@@ -88,7 +89,7 @@ fi
 
 
 case "$APTCMD" in
 
 
 case "$APTCMD" in
-install|remove|purge|build-dep|update|upgrade|dist-upgrade)
+install|remove|purge|build-dep|update|upgrade|dist-upgrade|clean)
        # those are the allowed apt sub-commands
        ;;
 *)
        # those are the allowed apt sub-commands
        ;;
 *)