Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Amin Vakil
infrastructure
Commits
ac3665bd
Verified
Commit
ac3665bd
authored
Apr 20, 2022
by
Evangelos Foutras
🐱
Browse files
postgres: upgrade_pg: pin postgresql-old-upgrade
Ensure the correct version is installed and matches $FROM_VERSION.
parent
be39d7ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/postgres/files/upgrade_pg.sh
View file @
ac3665bd
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment