Skip to content
Snippets Groups Projects
Verified Commit ac3665bd authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

postgres: upgrade_pg: pin postgresql-old-upgrade

Ensure the correct version is installed and matches $FROM_VERSION.
parent be39d7ff
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment