fixes and some improvements
[distro-setup] / conflink
index f798204c4a1ff32d1dd2c507c91d8f6362c36ee5..b44c4c324f787d5dcb4bbf6399d2a3423a386995 100755 (executable)
--- a/conflink
+++ b/conflink
@@ -213,6 +213,10 @@ case $user in
     #### begin special extra stuff ####
     install -d -m700 ~/gpg-agent-socket
 
+    if [[ -e /etc/bitcoin ]] && getent group bitcoin &>/dev/null; then
+      s chown bitcoin:bitcoin /etc/bitcoin
+    fi
+
     f=/var/lib/bind
     if [[ -e $f ]]; then
       # reset to the original permissions.