1
0
Fork 0
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:
Krakinou 2019-04-13 15:37:56 +02:00
parent 6919047511
commit 12384b0a27
3 changed files with 13 additions and 13 deletions

View file

@ -7,12 +7,12 @@
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
if [ ! -e _common.sh ]; then
# Get the _common.sh file if it's not in the current directory
cp ../settings/scripts/_common.sh ./_common.sh
chmod a+rx _common.sh
fi
source _common.sh
#if [ ! -e _common.sh ]; then
# # Get the _common.sh file if it's not in the current directory
# cp ../settings/scripts/_common.sh ./_common.sh
# chmod a+rx _common.sh
#fi
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
#=================================================

View file

@ -16,7 +16,7 @@ ynh_secure_remove /var/www/$app
#removing nginx conf
ynh_remove_nginx_config
#removing aliases
sed -i "/devnull:\/dev\/null/d" /etc/aliases
ynh_replace_string "/devnull:\/dev\/null/d" /etc/aliases
newaliases
# Remove hook for postfix conf
ynh_secure_remove "/usr/share/yunohost/hooks/conf_regen/98-postfix_emailpoubelle"

View file

@ -7,12 +7,12 @@
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
if [ ! -e _common.sh ]; then
# Get the _common.sh file if it's not in the current directory
cp ../settings/scripts/_common.sh ./_common.sh
chmod a+rx _common.sh
fi
source _common.sh
#if [ ! -e _common.sh ]; then
# # Get the _common.sh file if it's not in the current directory
# cp ../settings/scripts/_common.sh ./_common.sh
# chmod a+rx _common.sh
#fi
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
#=================================================