mirror of
https://github.com/jwetzell/docker-guacamole.git
synced 2026-09-10 08:39:35 +00:00
ensure login works after db update
This commit is contained in:
@@ -19,6 +19,9 @@ else
|
|||||||
if [ "$(cat /config/.database-version)" != "$GUAC_VER" ]; then
|
if [ "$(cat /config/.database-version)" != "$GUAC_VER" ]; then
|
||||||
cat /app/guacamole/schema/upgrade/upgrade-pre-$GUAC_VER.sql | psql -U $POSTGRES_USER -d $POSTGRES_DB -f -
|
cat /app/guacamole/schema/upgrade/upgrade-pre-$GUAC_VER.sql | psql -U $POSTGRES_USER -d $POSTGRES_DB -f -
|
||||||
echo "$GUAC_VER" > /config/.database-version
|
echo "$GUAC_VER" > /config/.database-version
|
||||||
|
|
||||||
|
/etc/cont-init.d/30-defaults.sh
|
||||||
|
/etc/cont-init.d/50-extensions
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user