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:
parent
9e8ec141d6
commit
2646f4e1d8
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue