summaryrefslogtreecommitdiffstats
path: root/main/acf-weblog/acf-weblog.post-upgrade
blob: 78822061e43f3601cf49bf89964ac3b42c88bd75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

new=$1
old=$2

if [ "$(apk version -t $old 0.6.0)" = "<" ]; then
	mkdir /etc/weblog
	mv /etc/weblog.conf /etc/weblog/
	cat <<EOF
*
* NOTE: You need to manually run /usr/sbin/acf-weblog-update-schema
*
EOF
fi

exit 0