mirror of
https://github.com/YunoHost-Apps/roundcube_ynh.git
synced 2024-09-03 20:16:28 +02:00
Fix
This commit is contained in:
parent
cb78e666f0
commit
33df5c706b
2 changed files with 7 additions and 9 deletions
|
@ -201,6 +201,9 @@ then
|
||||||
cp "$enigma_tmp_config" "$final_path/plugins/enigma/config.inc.php" \
|
cp "$enigma_tmp_config" "$final_path/plugins/enigma/config.inc.php" \
|
||||||
&& installed_plugins+=" 'enigma'," \
|
&& installed_plugins+=" 'enigma'," \
|
||||||
|| ynh_print_warn --message="Unable to install Enigma plugin"
|
|| ynh_print_warn --message="Unable to install Enigma plugin"
|
||||||
|
|
||||||
|
mkdir -p "$final_path/plugins/enigma/home"
|
||||||
|
chown -R $app: "$final_path/plugins/enigma/home"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -218,15 +221,7 @@ ynh_replace_string --match_string="^\s*// installed plugins" --replace_string="&
|
||||||
ynh_store_file_checksum --file="$final_path/config/config.inc.php"
|
ynh_store_file_checksum --file="$final_path/config/config.inc.php"
|
||||||
|
|
||||||
chmod 400 "$final_path/config/config.inc.php"
|
chmod 400 "$final_path/config/config.inc.php"
|
||||||
chown $app:$app "$final_path/config/config.inc.php"
|
chown $app: "$final_path/config/config.inc.php"
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# GENERIC FINALIZATION
|
|
||||||
#=================================================
|
|
||||||
# SECURE FILES AND DIRECTORIES
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
mkdir -p "$final_path/plugins/enigma/home"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
|
@ -249,6 +249,9 @@ then
|
||||||
cp "$enigma_tmp_config" "$final_path/plugins/enigma/config.inc.php" \
|
cp "$enigma_tmp_config" "$final_path/plugins/enigma/config.inc.php" \
|
||||||
&& installed_plugins+=" 'enigma'," \
|
&& installed_plugins+=" 'enigma'," \
|
||||||
|| ynh_print_warn --message="Unable to install Enigma plugin"
|
|| ynh_print_warn --message="Unable to install Enigma plugin"
|
||||||
|
|
||||||
|
mkdir -p "$final_path/plugins/enigma/home"
|
||||||
|
chown -R $app: "$final_path/plugins/enigma/home"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue