~dricottone/huttese-apk

171ef209813059dd7efe744abef28b8f09882e0c — Drew DeVault 6 years ago abc57ba
Skip post-upgrade if no config present
1 files changed, 5 insertions(+), 1 deletions(-)

M sr.ht/meta.sr.ht/meta.sr.ht.post-upgrade
M sr.ht/meta.sr.ht/meta.sr.ht.post-upgrade => sr.ht/meta.sr.ht/meta.sr.ht.post-upgrade +5 -1
@@ 1,2 1,6 @@
#!/bin/sh
alembic-3 -c /etc/sr.ht/alembic/meta.ini upgrade head
conf=/etc/sr.ht/alembic/meta.ini
if [ -e "$conf" ]
then
	alembic-3 -c "$conf" upgrade head
end