From 3b151f4b3d7d18102ebaac29dcd6884f8911cf82 Mon Sep 17 00:00:00 2001 From: rhatto Date: Sun, 20 Aug 2006 01:54:03 +0000 Subject: mutt update git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@43 370017ae-e619-0410-ac65-c121f96126d4 --- patches/mutt/mutt.SlackBuild | 15 ++++++++++----- 1 file 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 -- cgit v1.2.3