mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
upgrade: maybe using a subshell aint a good idea, let's try with pushd/popd...
This commit is contained in:
parent
921f49b027
commit
26601c07c2
1 changed files with 4 additions and 4 deletions
|
@ -261,8 +261,8 @@ then
|
|||
ynh_replace_string --match_string="^\s*// installed plugins" --replace_string="&\n $installed_plugins" --target_file="$final_path/config/config.inc.php"
|
||||
|
||||
# Update JavaScript dependencies
|
||||
(cd "$final_path"
|
||||
./bin/update.sh --version="?" -y)
|
||||
pushd "$final_path"
|
||||
./bin/update.sh --version="?" -y
|
||||
|
||||
# Store the config file checksum into the app settings
|
||||
ynh_store_file_checksum --file="$final_path/config/config.inc.php"
|
||||
|
@ -275,8 +275,8 @@ then
|
|||
#=================================================
|
||||
ynh_script_progression --message="Updating $app core..." --weight=4
|
||||
|
||||
( cd "$final_path"
|
||||
ynh_exec_warn ./bin/update.sh --version=$oldversion -y)
|
||||
ynh_exec_warn ./bin/update.sh --version=$oldversion -y
|
||||
popd
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue