mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
package check recommandations
This commit is contained in:
parent
6919047511
commit
12384b0a27
3 changed files with 13 additions and 13 deletions
|
@ -7,12 +7,12 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
# IMPORT GENERIC HELPERS
|
# IMPORT GENERIC HELPERS
|
||||||
#=================================================
|
#=================================================
|
||||||
if [ ! -e _common.sh ]; then
|
#if [ ! -e _common.sh ]; then
|
||||||
# Get the _common.sh file if it's not in the current directory
|
# # Get the _common.sh file if it's not in the current directory
|
||||||
cp ../settings/scripts/_common.sh ./_common.sh
|
# cp ../settings/scripts/_common.sh ./_common.sh
|
||||||
chmod a+rx _common.sh
|
# chmod a+rx _common.sh
|
||||||
fi
|
#fi
|
||||||
source _common.sh
|
source ../settings/scripts/_common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -16,7 +16,7 @@ ynh_secure_remove /var/www/$app
|
||||||
#removing nginx conf
|
#removing nginx conf
|
||||||
ynh_remove_nginx_config
|
ynh_remove_nginx_config
|
||||||
#removing aliases
|
#removing aliases
|
||||||
sed -i "/devnull:\/dev\/null/d" /etc/aliases
|
ynh_replace_string "/devnull:\/dev\/null/d" /etc/aliases
|
||||||
newaliases
|
newaliases
|
||||||
# Remove hook for postfix conf
|
# Remove hook for postfix conf
|
||||||
ynh_secure_remove "/usr/share/yunohost/hooks/conf_regen/98-postfix_emailpoubelle"
|
ynh_secure_remove "/usr/share/yunohost/hooks/conf_regen/98-postfix_emailpoubelle"
|
||||||
|
|
|
@ -7,12 +7,12 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
# IMPORT GENERIC HELPERS
|
# IMPORT GENERIC HELPERS
|
||||||
#=================================================
|
#=================================================
|
||||||
if [ ! -e _common.sh ]; then
|
#if [ ! -e _common.sh ]; then
|
||||||
# Get the _common.sh file if it's not in the current directory
|
# # Get the _common.sh file if it's not in the current directory
|
||||||
cp ../settings/scripts/_common.sh ./_common.sh
|
# cp ../settings/scripts/_common.sh ./_common.sh
|
||||||
chmod a+rx _common.sh
|
# chmod a+rx _common.sh
|
||||||
fi
|
#fi
|
||||||
source _common.sh
|
source ../settings/scripts/_common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue