mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
Fix upgrade logic for enigma
This commit is contained in:
parent
214e97f7a2
commit
4dca4a87c8
1 changed files with 5 additions and 1 deletions
|
@ -226,7 +226,11 @@ then
|
|||
# Install Enigma plugin
|
||||
if [ $with_enigma -eq 1 ]
|
||||
then
|
||||
cp -a "$final_path/plugins/enigma/config.inc.php.dist" "$final_path/plugins/enigma/config.inc.php" \
|
||||
enigma_tmp_config="../conf/enigma.config.inc.php"
|
||||
|
||||
ynh_replace_string --match_string="__DIR__" --replace_string="$final_path/plugins/enigma/home" --target_file="$enigma_tmp_config"
|
||||
|
||||
cp "$enigma_tmp_config" "$final_path/plugins/enigma/config.inc.php" \
|
||||
&& installed_plugins+=" 'enigma'," \
|
||||
|| ynh_print_warn --message="Unable to install Enigma plugin"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue