- Update to release 2.6

OBS-URL: https://build.opensuse.org/package/show/server:mail/gromox?expand=0&rev=37
This commit is contained in:
2023-03-10 00:16:45 +00:00
committed by Git OBS Bridge
parent 51e0a38461
commit f70943afd1
9 changed files with 34 additions and 16 deletions

View File

@@ -10,14 +10,14 @@ set_perms()
MODE="$3"
FILE="$4"
if ! dpkg-statoverride --list "$FILE" >/dev/null 2>&1; then
chown -R "$USER:$GROUP" "$FILE"
chmod -R $MODE "$FILE"
chown -h "$USER:$GROUP" "$FILE"
chmod $MODE "$FILE"
fi
}
xpostinst()
{
set_perms root gromox 0770 /etc/gromox || :
set_perms root grommunio 0770 /etc/gromox || :
for i in /var/lib/gromox \
/var/lib/gromox/queue \
/var/lib/gromox/queue/cache \