diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:56:51 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 09:56:51 +0000 |
commit | 008e652e3a7294286d19b23e15b9d75ccb9ea021 (patch) | |
tree | ecff107769b78ad8daa43dcaa91a4c36f03bf6c2 /debian | |
parent | Updating vcs fields. (diff) | |
download | gitolite3-008e652e3a7294286d19b23e15b9d75ccb9ea021.tar.xz gitolite3-008e652e3a7294286d19b23e15b9d75ccb9ea021.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" |