summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/postinst b/debian/postinst
index e47266d..62187c5 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -88,7 +88,7 @@ if [ "x$version" = "x" ] || [ "$action" = "reconfigure" ]; then
--group "$GITUSER"
fi
- if [ ! -r "$GITDIR/.gitolite.rc" ]; then
+ if [ ! -r "$GITDIR/.gitolite.rc" ] && [ ! -h "$GITDIR/.gitolite.rc" ]; then
if [ ! -d "$GITDIR" ]; then
mkdir -p "$GITDIR"
chown "$GITUSER":"$GITUSER" "$GITDIR"