mirror of
https://github.com/YunoHost-Apps/privatebin_ynh.git
synced 2024-09-03 20:15:56 +02:00
fix
This commit is contained in:
parent
e643384295
commit
175db6e45c
3 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ chown -R $app:www-data "$install_dir"
|
|||
#=================================================
|
||||
# APP INITIAL CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Adding $app's configuration files..." --weight=1
|
||||
ynh_script_progression "Adding $app's configuration files..."
|
||||
|
||||
ynh_config_add --template="conf.php" --destination="$install_dir/cfg/conf.php"
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ chown -R $app:www-data "$install_dir"
|
|||
#=================================================
|
||||
# RESTORE THE DATA DIRECTORY
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the data directory..." --weight=1
|
||||
ynh_script_progression "Restoring the data directory..."
|
||||
|
||||
ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ source /usr/share/yunohost/helpers
|
|||
ynh_app_setting_set_default --key=php_memory_limit --value=50M
|
||||
|
||||
if ynh_app_upgrading_from_version_before 1.7.3~ynh1; then
|
||||
ynh_script_progression --message="Moving data..." --weight=3
|
||||
ynh_script_progression "Moving data..."
|
||||
mv $install_dir/data/* $data_dir/
|
||||
fi
|
||||
|
||||
|
@ -24,7 +24,7 @@ chown -R $app:www-data "$install_dir"
|
|||
#=================================================
|
||||
# UPDATE A CONFIG FILE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating $app's configuration files..." --weight=1
|
||||
ynh_script_progression "Updating $app's configuration files..."
|
||||
|
||||
ynh_config_add --template="conf.php" --destination="$install_dir/cfg/conf.php"
|
||||
|
||||
|
|
Loading…
Reference in a new issue