mirror of
https://github.com/YunoHost-Apps/paheko_ynh.git
synced 2024-09-03 19:56:22 +02:00
more direct
This commit is contained in:
parent
40987c2d10
commit
955e600fbc
1 changed files with 1 additions and 2 deletions
|
@ -36,12 +36,11 @@ fi
|
|||
if [ -f "$install_dir/config.local.yunohost.php" ]
|
||||
then
|
||||
ynh_script_progression --message="cleaning conf files..." --weight=5
|
||||
mv "$install_dir/config.local.php" "$install_dir/config.local.php.old"
|
||||
ynh_secure_remove "$install_dir/config.local.php"
|
||||
mv "$install_dir/config.local.yunohost.php" "$install_dir/config.local.php"
|
||||
chmod 440 "$install_dir/config.local.php"
|
||||
chown $app:$app "$install_dir/config.local.php"
|
||||
ynh_store_file_checksum --file="$install_dir/config.local.php"
|
||||
ynh_secure_remove "$install_dir/config.local.php.old"
|
||||
fi
|
||||
|
||||
ynh_script_progression --message="removing old conf files if they exist..." --weight=5
|
||||
|
|
Loading…
Add table
Reference in a new issue