From: rhatto Date: Sun, 20 Aug 2006 01:54:03 +0000 (+0000) Subject: mutt update X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3b151f4b3d7d18102ebaac29dcd6884f8911cf82;p=slackbuilds.git mutt update git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@43 370017ae-e619-0410-ac65-c121f96126d4 --- diff --git a/patches/mutt/mutt.SlackBuild b/patches/mutt/mutt.SlackBuild index 93d940b0..cc757627 100755 --- a/patches/mutt/mutt.SlackBuild +++ b/patches/mutt/mutt.SlackBuild @@ -47,11 +47,16 @@ else tarflag="z" fi -if [ "$RTOOL" == "wget" ] && [ ! -f "$SRC_DIR/$SRC" ]; then - rm -rf $SRC_DIR/{$PATCH1,$PATCH2} - wget "$URL" -O "$SRC_DIR/$SRC" - wget "$PATCH1_URL" -O "$SRC_DIR/$PATCH1" - wget "$PATCH2_URL" -O "$SRC_DIR/$PATCH2" +if [ "$RTOOL" == "wget" ]; then + if [ ! -f "$SRC_DIR/$SRC" ]; then + wget "$URL" -O "$SRC_DIR/$SRC" + fi + if [ ! -f "$SRC_DIR/$PATCH1" ]; then + wget "$PATCH1_URL" -O "$SRC_DIR/$PATCH1" + fi + if [ ! -f "$SRC_DIR/$PATCH2" ]; then + wget "$PATCH2_URL" -O "$SRC_DIR/$PATCH2" + fi fi if [ "$ARCH" == "i486" ]; then