]> code.citadel.org Git - citadel.git/commitdiff
* check the existance of the config file before chowning them, as if it's gone this...
authorWilfried Göesgens <willi@citadel.org>
Mon, 2 Apr 2007 00:11:29 +0000 (00:11 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 2 Apr 2007 00:11:29 +0000 (00:11 +0000)
citadel/debian/citadel-client.postinst

index 048eb65eb2a7da594e259100bf79c7f13f10d02a..190f16a8960b557fb79994a969b81f21b02fcf68 100644 (file)
@@ -5,7 +5,9 @@ set -e
 
 case "$1" in
     configure)
-        chown citadel:citadel /etc/citadel/citadel.rc
+        if test -f /etc/citadel/citadel.rc; then
+           chown citadel:citadel /etc/citadel/citadel.rc
+       fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)