mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
Change postifx edition : ynh_replace_string
This commit is contained in:
parent
360419038d
commit
0e3c87a503
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ ynh_mysql_create_db $db_user $db_user $db_pwd
|
||||||
|
|
||||||
#setting postfix to use virtual aliases file
|
#setting postfix to use virtual aliases file
|
||||||
sudo cp $postfix $postfix.emailpoubelle.bak #backup it eventually if that causes some issues
|
sudo cp $postfix $postfix.emailpoubelle.bak #backup it eventually if that causes some issues
|
||||||
sudo sed -i "s/^virtual_alias_maps/#virtual_alias_maps/g" $postfix
|
ynh_replace_string "^virtual_alias_maps" "#virtual_alias_maps" $postfix
|
||||||
|
#sudo sed -i "s/^virtual_alias_maps/#virtual_alias_maps/g" $postfix
|
||||||
echo "virtual_alias_maps = hash:$final_path/var/virtual" | sudo tee -a $postfix
|
echo "virtual_alias_maps = hash:$final_path/var/virtual" | sudo tee -a $postfix
|
||||||
|
|
||||||
#create the virtual aliases file
|
#create the virtual aliases file
|
||||||
|
|
Loading…
Add table
Reference in a new issue