use better practice to avoid overwriting symlnks
[distro-setup] / phab-setup
index e654246b2f7da8cf69fd7d753d55163489f49f94..8873609a0fbf3b943b1f7e65cfe3cb90dfb4e7f5 100755 (executable)
@@ -65,7 +65,7 @@ phab-sel
 pi phabricator/unstable
 
 # debian sets http, but we want https
-s sed -i 's/http:/https:/' /usr/share/phabricator/conf/local/local.json
+s sed -i --follow-symlinks 's/http:/https:/' /usr/share/phabricator/conf/local/local.json
 
 
 acme-tiny-wrapper $domain