cleaning install script

This commit is contained in:
ghose 2024-11-09 18:49:42 +01:00
parent 85ec0958f8
commit 2f24f108b6

View file

@ -20,12 +20,12 @@ chown -R $app:www-data "$install_dir"
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION
#================================================= #=================================================
ynh_script_progression "Adding app's configuration file..." #ynh_script_progression "Adding app's configuration file..."
ynh_config_add --template="" --destination="$install_dir/" #ynh_config_add --template="" --destination="$install_dir/"
chmod 400 "$install_dir/" #chmod 400 "$install_dir/"
chown "$app:$app" "$install_dir/" #chown "$app:$app" "$install_dir/"
#================================================= #=================================================
# SYSTEM CONFIGURATION # SYSTEM CONFIGURATION
@ -42,7 +42,7 @@ ynh_config_add_logrotate
ynh_script_progression "Installing $app..." ynh_script_progression "Installing $app..."
pushd $install_dir pushd $install_dir
some_command --build # some_command --build
popd popd
#================================================= #=================================================
@ -50,7 +50,7 @@ popd
#================================================= #=================================================
ynh_script_progression "Finalizing installation..." ynh_script_progression "Finalizing installation..."
ynh_local_curl "/INSTALL_PATH" "key1=value1" "key2=value2" "key3=value3" #ynh_local_curl "/INSTALL_PATH" "key1=value1" "key2=value2" "key3=value3"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT