aboutsummaryrefslogtreecommitdiff
path: root/patches/mutt
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-20 01:54:03 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-08-20 01:54:03 +0000
commit3b151f4b3d7d18102ebaac29dcd6884f8911cf82 (patch)
tree6bf8ba1f799ac9d9af0f1d6f5e11da46c972b387 /patches/mutt
parentd310b69a9f1dcd4bf376d1061aa32ce2cec5d377 (diff)
downloadslackbuilds-3b151f4b3d7d18102ebaac29dcd6884f8911cf82.tar.gz
slackbuilds-3b151f4b3d7d18102ebaac29dcd6884f8911cf82.tar.bz2
mutt update
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@43 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'patches/mutt')
-rwxr-xr-xpatches/mutt/mutt.SlackBuild15
1 files changed, 10 insertions, 5 deletions
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