]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
mutt update
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Sun, 20 Aug 2006 01:54:03 +0000 (01:54 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Sun, 20 Aug 2006 01:54:03 +0000 (01:54 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@43 370017ae-e619-0410-ac65-c121f96126d4

patches/mutt/mutt.SlackBuild

index 93d940b0f377a383300005ec6325d9b1a70ba7a6..cc7576278a39b0fa005a49a546339efc7716049e 100755 (executable)
@@ -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