From b1c3a1ed864b9dc6beb17f5f7ede058ea5ff5624 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 1 Dec 2014 12:32:57 -0200 Subject: Ensure app base exists on tor-browser-dl --- tor-browser-dl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tor-browser-dl b/tor-browser-dl index fc77ec5..643514b 100755 --- a/tor-browser-dl +++ b/tor-browser-dl @@ -41,8 +41,9 @@ if [ -d "$APP_BASE/$ARCH-$VERSION" ]; then exit 1 fi -# Temp folder +# Create folders mkdir -p "$TEMP" +mkdir -p "$APP_BASE" # Download package if [ ! -e "$DL/$FILE" ]; then -- cgit v1.2.3