]> Zhao Yanbai Git Server - minix.git/commitdiff
Getpack -> easypack
authorBen Gras <ben@minix3.org>
Fri, 14 Oct 2005 19:11:44 +0000 (19:11 +0000)
committerBen Gras <ben@minix3.org>
Fri, 14 Oct 2005 19:11:44 +0000 (19:11 +0000)
commands/scripts/Makefile
commands/scripts/getpack.sh [deleted file]

index 4c22efc97db02bf88f9df65b8e8c2568a72bb76d..fa94a07c0e4df6df89b2f8cc241fc4dc007a4dd4 100755 (executable)
@@ -24,7 +24,6 @@ usr:  \
                /usr/bin/expr \
                /usr/bin/false \
                /usr/bin/getopts \
-               /usr/bin/getpack \
                /usr/bin/read \
                /usr/bin/test \
                /usr/bin/true \
@@ -96,9 +95,6 @@ clean:
 /usr/bin/easypack:     easypack.sh
        install -m 755 -c -o bin $? $@
 
-/usr/bin/getpack:      getpack.sh
-       install -m 755 -c -o bin $? $@
-
 /usr/bin/checkhier:    checkhier.sh
        install -m 755 -c -o bin $? $@
 
diff --git a/commands/scripts/getpack.sh b/commands/scripts/getpack.sh
deleted file mode 100644 (file)
index 12eb504..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-if [ $# -ne 1 ]
-then   echo "Usage: $0 <url>"
-       exit 1
-fi
-
-if [ -z "$HOME" ]
-then   echo "Where is your \$HOME? "
-       exit 1
-fi
-
-if [ ! -d "$HOME" ]
-then   echo "Where is your \$HOME ($HOME) ? "
-       exit 1
-fi
-
-tmpdir=$HOME/getpack$$
-tmpfile=package
-tmpfiletar=$tmpfile.tar
-tmpfiletargz=$tmpfile.tar.gz
-
-mkdir -m 700 $tmpdir || exit 1
-cd $tmpdir || exit 1
-
-urlget "$1" >$tmpfiletargz
-
-gzip -d $tmpfiletargz || exit 1
-tar xf $tmpfiletar || exit 1
-make && make install && echo "Ok."