diff --git a/scripts/install b/scripts/install index b897fa6..dbb4048 100755 --- a/scripts/install +++ b/scripts/install @@ -119,6 +119,9 @@ script_dir="$PWD" pushd "$final_path" chown -R $app: $final_path npm install +DATA_PATH="/home/yunohost.app/$app" +mkdir -p $DATA_PATH +chown -R "$app":"$app" $final_path $DATA_PATH #================================================= # Configure haste with config.js file