From d533f37c50e4525471e34d8d89a76493e0cec808 Mon Sep 17 00:00:00 2001 From: mbugeia Date: Tue, 25 Oct 2016 00:03:27 +0200 Subject: [PATCH] Fix path creation --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 1c74eec..eadf898 100755 --- a/scripts/install +++ b/scripts/install @@ -33,7 +33,7 @@ id -u "$app" &>/dev/null || sudo adduser "$app" \ # Install the app DESTDIR="/opt/"${app} install_haste $DESTDIR -mkdir -p $DATA_PATH +sudo mkdir -p $DATA_PATH sudo chown -R "$app":"$app" $DESTDIR $DATA_PATH # Configure haste with config.js file