diff --git a/scripts/install b/scripts/install index 7dd1e7d..57b4261 100644 --- a/scripts/install +++ b/scripts/install @@ -122,8 +122,8 @@ ynh_script_progression --message="Setting up source files..." --weight=2 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$final_path" -#git clone -b v1.17.x https://github.com/NodeBB/NodeBB.git "$final_path" --quiet +#ynh_setup_source --dest_dir="$final_path" +git clone -b $nodebb_version https://github.com/NodeBB/NodeBB.git "$final_path" --quiet chmod 750 "$final_path" chmod -R o-rwx "$final_path"