diff --git a/scripts/install b/scripts/install index 3f64e949..c73f1f1c 100755 --- a/scripts/install +++ b/scripts/install @@ -91,7 +91,7 @@ ynh_script_progression --message="Create addon directory inside Hubzilla root fo # ynh_setup_source --dest_dir="$final_path/addon" --source_id="app_addons" - `cd "$final_path" util/add_addon_repo https://framagit.org/hubzilla/addons.git hzaddons` + `cd $final_path && util/add_addon_repo https://framagit.org/hubzilla/addons.git hzaddons` # 3 - Some extra folders ynh_script_progression --message="Creating smarty3 folder for personal data..." diff --git a/scripts/upgrade b/scripts/upgrade index 623c50c8..9a216bd2 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -73,7 +73,7 @@ ynh_script_progression --message="Upgrading source files..." if [ `cd $final_path && git rev-parse --is-inside-work-tree` ]; then `cd $final_path && util/udall` - chmod -R 777 $final_path/store + chmod -R 777 $final_path/store else # Create a temporary directory