aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-12-01 12:32:57 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-12-01 12:32:57 -0200
commitb1c3a1ed864b9dc6beb17f5f7ede058ea5ff5624 (patch)
tree99caaa3efe3516ecfb3194944e740d6aca7f07b4
parente9ccace3c18401cee355b405fb953f629dacc769 (diff)
downloaddownloaders-b1c3a1ed864b9dc6beb17f5f7ede058ea5ff5624.tar.gz
downloaders-b1c3a1ed864b9dc6beb17f5f7ede058ea5ff5624.tar.bz2
Ensure app base exists on tor-browser-dl
-rwxr-xr-xtor-browser-dl3
1 files changed, 2 insertions, 1 deletions
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