blob: 1a54c0451ee01208bc68a39f92d21b98a6ce7565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
new=$1
old=$2
# if current is not older than 0.10.1 we exit.
if ! [ "$(apk version -t $old 0.10.1)" = "<" ]; then
exit 0
fi
if [ -e /etc/acf/acf.conf.apk-new ]; then
mv /etc/acf/acf.conf /etc/acf/acf.conf.apk-old
mv /etc/acf/acf.conf.apk-new /etc/acf/acf.conf
fi
exit 0
|