use better practice to avoid overwriting symlnks
[distro-setup] / postfix-setup
index 2c8fe5ede96418c436ac3b82283a1ff2160f9d2f..d2af80c5fd34d6d1407fee2c9c01f443000d36b3 100755 (executable)
@@ -59,7 +59,7 @@ fi
 
 
 # This also works instead of ~/.forward
-# s sed -i '/^root/d' /etc/aliases ||:
+# s sed -i --follow-symlinks '/^root/d' /etc/aliases ||:
 #echo "root: $HOSTNAME@$SOME_DOMAIN" | s tee -a /etc/aliases
 # this can't be a symlink and has permission restrictions
 # it might work in /etc/aliases, but this seems more proper.