From 640fab565d59163048976a215188aa90ce0f5fcb Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 23 Jan 2007 13:16:19 +0000 Subject: simplaret: added ncftpget and timeout support, small changes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@113 04377dda-e619-0410-9926-eae83683ac58 --- src/simplaret | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/simplaret b/src/simplaret index 97627d6..b77322e 100755 --- a/src/simplaret +++ b/src/simplaret @@ -16,19 +16,20 @@ # Place - Suite 330, Boston, MA 02111-1307, USA # +BASERNAME="`basename $0`" REPOS_CONF="/etc/simplepkg/repos.conf" COMMON="/usr/libexec/simplepkg/common.sh" if [ -f "$COMMON" ]; then source $COMMON else - echo "error: file $COMMON found, check your `basename $0` installation" + echo "error: file $COMMON found, check your $BASENAME installation" exit 1 fi function simplaret_usage { - echo "usage: [ARCH=otherarch] [VERSION=otherversion] `basename $0`