aboutsummaryrefslogtreecommitdiffstats
path: root/community/knot-resolver/knot-resolver.post-upgrade
blob: fcb1f09074f430c102f7ff45634c4bb86d2ed7d9 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

ver_new="$1"
ver_old="$2"

if [ "$(apk version -t "$ver_old" "5.0.1-r0")" = "<" ]; then
	chown -R kresd:kresd /var/cache/knot-resolver
fi