1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ampache_ynh.git synced 2024-09-03 18:15:55 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-08-29 21:26:40 +02:00
parent 9e8ec141d6
commit 2646f4e1d8

View file

@ -74,10 +74,12 @@ fi
#=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1
ynh_add_config --template="../conf/ampache.cfg.php" --destination="$install_dir/config/ampache.cfg.php"
(cd $install_dir && ynh_exec_as "$app" php$phpversion bin/cli admin:updateDatabase -e)
chmod 600 "$install_dir/config/ampache.cfg.php"
chown $app: "$install_dir/config/ampache.cfg.php"
#ynh_add_config --template="../conf/ampache.cfg.php" --destination="$install_dir/config/ampache.cfg.php"
#chmod 600 "$install_dir/config/ampache.cfg.php"
#chown $app: "$install_dir/config/ampache.cfg.php"
#=================================================
# UPDATE MULTIMEDIA DIRECTORIES