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:
parent
47ef16cb59
commit
269ffcd228
1 changed files with 4 additions and 1 deletions
|
@ -15,6 +15,9 @@ install_dependance() {
|
||||||
}
|
}
|
||||||
|
|
||||||
config_sogo() {
|
config_sogo() {
|
||||||
|
# Avoid if the directory don't exist
|
||||||
|
mkdir -p /etc/$app
|
||||||
|
|
||||||
ynh_backup_if_checksum_is_different /etc/$app/sogo.conf
|
ynh_backup_if_checksum_is_different /etc/$app/sogo.conf
|
||||||
cp ../conf/sogo.conf /etc/$app/sogo.conf
|
cp ../conf/sogo.conf /etc/$app/sogo.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue