diff options
Diffstat (limited to 'broffice')
-rwxr-xr-x | broffice/broffice.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
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" |