Remove legacy alembic command in docker/run.sh
This commit is contained in:
parent
47d499dac8
commit
47d7e2b483
@ -30,7 +30,6 @@ mkdir -p /var/log/maubot /data/plugins /data/trash /data/dbs
|
|||||||
|
|
||||||
if [ ! -f /data/config.yaml ]; then
|
if [ ! -f /data/config.yaml ]; then
|
||||||
cp example-config.yaml /data/config.yaml
|
cp example-config.yaml /data/config.yaml
|
||||||
# Apply some docker-specific adjustments to the config
|
|
||||||
echo "Config file not found. Example config copied to /data/config.yaml"
|
echo "Config file not found. Example config copied to /data/config.yaml"
|
||||||
echo "Please modify the config file to your liking and restart the container."
|
echo "Please modify the config file to your liking and restart the container."
|
||||||
fixperms
|
fixperms
|
||||||
@ -38,7 +37,6 @@ if [ ! -f /data/config.yaml ]; then
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alembic -x config=/data/config.yaml upgrade head
|
|
||||||
fixperms
|
fixperms
|
||||||
fixconfig
|
fixconfig
|
||||||
if ls /data/plugins/*.db > /dev/null 2>&1; then
|
if ls /data/plugins/*.db > /dev/null 2>&1; then
|
||||||
|
Loading…
Reference in New Issue
Block a user