Skip to content

Commit ae913ea

Browse files
author
Alexandros Ioannides
authored
Fix PostgreSQL repo
1 parent f098d8e commit ae913ea

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

install/upgrade/versions/1.4.0.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,9 @@ if [ "$MAIL_SYSTEM" == "exim4" ]; then
7676
fi
7777

7878
$HESTIA/bin/v-restart-mail
79-
fi
79+
fi
80+
81+
# Fix PostgreSQL repo
82+
if [ -f /etc/apt/sources.list.d/postgresql.list ]; then
83+
sed -i 's|deb https://apt.postgresql.org/pub/repos/apt/|deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/|g' /etc/apt/sources.list.d/postgresql.list
84+
fi

0 commit comments

Comments
 (0)