Skip to content

Commit e8ffe54

Browse files
committed
chore: shellcheck fix
1 parent cc44930 commit e8ffe54

File tree

1 file changed

+2
-1
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+2
-1
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ function initiate_upgrade {
198198
# Needed for PostGIS, since it's compiled with Protobuf-C support now
199199
echo "3. Installing libprotobuf-c1 and libicu66 if missing"
200200
if [[ ! "$(apt list --installed libprotobuf-c1 | grep "installed")" ]]; then
201-
apt-get update && apt --fix-broken install -y libprotobuf-c1 libicu66 || true
201+
apt-get update -y
202+
apt --fix-broken install -y libprotobuf-c1 libicu66 || true
202203
fi
203204

204205
if [ "$IS_CI" = false ]; then

0 commit comments

Comments
 (0)