Change the sed delimiter to avoid some errors

master
Pierre Jaury 9 years ago
parent 3842b4b41e
commit 09d737ce9a

@ -2,7 +2,7 @@
# Substitute configuration
for VARIABLE in `env | cut -f1 -d=`; do
sed -i "s,{{ $VARIABLE }},${!VARIABLE},g" /etc/postfix/*.cf
sed -i "s={{ $VARIABLE }}=${!VARIABLE}=g" /etc/postfix/*.cf
done
# Actually run Postfix

Loading…
Cancel
Save