mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
13 lines
217 B
Bash
13 lines
217 B
Bash
#!/bin/sh
|
|
|
|
ver_new="$1"
|
|
ver_old="$2"
|
|
|
|
if [ "$(apk version -t "$ver_old" '1.7.8-r1')" = '<' ]; then
|
|
if [ "$(stat -c %U:%G /var/log/rspamd)" = 'root:rspamd' ]; then
|
|
chown rspamd:rspamd /var/log/rspamd
|
|
fi
|
|
fi
|
|
|
|
exit 0
|