Verified Commit ac3665bd authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

postgres: upgrade_pg: pin postgresql-old-upgrade

Ensure the correct version is installed and matches $FROM_VERSION.
parent be39d7ff
......@@ -30,7 +30,7 @@ if [[ -d /var/lib/postgres/data-$FROM_VERSION ]]; then
exit 3
fi
pacman -S --needed postgresql-old-upgrade
pacman -S --needed "postgresql-old-upgrade>=$FROM_VERSION"
# mask postgresql.service to make sure that other services with
# Wants=postgresql.service and Restart=on-failure will not start
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment