mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
[fix] Delete perlmagick, not necessary #7
This commit is contained in:
parent
a244e5a72f
commit
7e29fdf20d
3 changed files with 0 additions and 5 deletions
|
@ -62,10 +62,8 @@ then
|
|||
sudo sed -i "s@#--PRIVATE--@@g" /etc/nginx/conf.d/$domain.d/$app.conf
|
||||
fi
|
||||
|
||||
# Installation de perlmagick, interface perl pour imagemagick et de carton, gestionnaire de dépendances perl
|
||||
ynh_package_update
|
||||
ynh_package_install carton
|
||||
ynh_package_install perlmagick
|
||||
|
||||
## Copy and fix variable into lufi config
|
||||
sudo cp ../conf/lufi.conf.template "${final_path}/lufi.conf"
|
||||
|
|
|
@ -41,7 +41,6 @@ SECURE_REMOVE '/var/log/$app/' # Delete log
|
|||
REMOVE_LOGROTATE_CONF # Delete logrotate configuration
|
||||
|
||||
ynh_package_remove carton || echo "Carton already uninstalled"
|
||||
ynh_package_remove perlmagick || echo "perlmagick already uninstalled"
|
||||
|
||||
# Reload SSOwat configuration
|
||||
sudo yunohost app ssowatconf
|
||||
|
|
|
@ -15,10 +15,8 @@ domain=$(ynh_app_setting_get $app domain)
|
|||
path=$(ynh_app_setting_get $app path)
|
||||
is_public=$(ynh_app_setting_get $app is_public)
|
||||
|
||||
# Installation de perlmagick, interface perl pour imagemagick et de carton, gestionnaire de dépendances perl
|
||||
ynh_package_update
|
||||
ynh_package_install carton
|
||||
ynh_package_install perlmagick
|
||||
|
||||
# Check domain/path availability
|
||||
sudo yunohost app checkurl "${domain}${path}" -a "${app}" \
|
||||
|
|
Loading…
Add table
Reference in a new issue