From: rudson Date: Fri, 27 Oct 2006 00:38:52 +0000 (+0000) Subject: correções do broffice X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=a9c3b105ea8390401696d9402e62c71987301e6f;p=slackbuilds.git correções do broffice git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@533 370017ae-e619-0410-ac65-c121f96126d4 --- diff --git a/broffice/broffice.SlackBuild b/broffice/broffice.SlackBuild index 469d09c0..2f62acaa 100755 --- a/broffice/broffice.SlackBuild +++ b/broffice/broffice.SlackBuild @@ -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"