mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
Update upgrade
This commit is contained in:
parent
c77f2fbffe
commit
49b092892e
1 changed files with 8 additions and 8 deletions
|
@ -189,16 +189,16 @@ then
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
COMPOSER_ALLOW_SUPERUSER=1 ./bin/update.sh --version="?" -y <<< ""
|
COMPOSER_ALLOW_SUPERUSER=1 ./bin/update.sh --version="?" -y <<< ""
|
||||||
|
|
||||||
# Store the config file checksum into the app settings
|
# Store the config file checksum into the app settings
|
||||||
ynh_store_file_checksum --file="$install_dir/config/config.inc.php"
|
ynh_store_file_checksum --file="$install_dir/config/config.inc.php"
|
||||||
|
|
||||||
chmod 400 "$install_dir/config/config.inc.php"
|
chmod 400 "$install_dir/config/config.inc.php"
|
||||||
chown $app:$app "$install_dir/config/config.inc.php"
|
chown $app:$app "$install_dir/config/config.inc.php"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE ROUNDCUBE CORE
|
# UPDATE ROUNDCUBE CORE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating $app core..." --weight=4
|
ynh_script_progression --message="Updating $app core..." --weight=4
|
||||||
|
|
||||||
COMPOSER_ALLOW_SUPERUSER=1 ynh_exec_warn ./bin/update.sh --version=$oldversion -y
|
COMPOSER_ALLOW_SUPERUSER=1 ynh_exec_warn ./bin/update.sh --version=$oldversion -y
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in a new issue