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