diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:18:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 14:18:22 +0000 |
commit | a10ad7e6cea8c7f54ea5dd6a9a51f56e10d630d0 (patch) | |
tree | 817e006341b074a8fecf7ada3a9b91a7c62d6402 | |
parent | Updating vcs fields. (diff) | |
download | gitolite3-a10ad7e6cea8c7f54ea5dd6a9a51f56e10d630d0.tar.xz gitolite3-a10ad7e6cea8c7f54ea5dd6a9a51f56e10d630d0.zip |
Updating check of existing .gitolite.rc to work with symlinks too (Closes: #843655).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/postinst | 2 |
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" |