1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sogo_ynh.git synced 2024-09-03 20:26:07 +02:00

Create sogo conf directory if not exist

This commit is contained in:
Josué Tille 2018-08-31 14:34:25 +02:00
parent 47ef16cb59
commit 269ffcd228

View file

@ -15,6 +15,9 @@ install_dependance() {
}
config_sogo() {
# Avoid if the directory don't exist
mkdir -p /etc/$app
ynh_backup_if_checksum_is_different /etc/$app/sogo.conf
cp ../conf/sogo.conf /etc/$app/sogo.conf
@ -78,4 +81,4 @@ set_permission() {
chmod u=rwX,g=rwX,o= -R /etc/$app
chown -R $app:$app /var/log/$app
chmod u=rwX,g=rwX,o= -R /var/log/$app
}
}