1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/main/acf-weblog/acf-weblog.post-upgrade

16 lines
227 B
Bash
Executable file

#!/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