]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
correções do broffice
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>
Fri, 27 Oct 2006 00:38:52 +0000 (00:38 +0000)
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>
Fri, 27 Oct 2006 00:38:52 +0000 (00:38 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@533 370017ae-e619-0410-ac65-c121f96126d4

broffice/broffice.SlackBuild

index 469d09c0d4be39829e9cf340f6b8b0f4d8838446..2f62acaa8afecf448f2045facdea908142b239bc 100755 (executable)
@@ -65,10 +65,11 @@ fi
 # ----------------  Download fontes  ----------------------
 # Fonte a ser compilada, com o path
 SOURCE=$SRC_DIR/$SRC
+mkdir -p $SRC_DIR/$PACKAGE 2>/dev/null
 # Verifica existência do pacote em $SRC em $SRC_DIR
 if [ ! -e $SOURCE ]; then
     echo -e "\n\n\033[01;32m Download $PACKAGE \n\033[m"
-    wget "$URL" -P "$SRC_DIR/"
+    wget "$URL" -P "$SRC_DIR/$PACKAGE"
     # Verifica se o
     if [ $? -ne 0 ]; then
         echo -e "\n\n\033[01;31m No such source file in $URL\n\033[m"