add running of init_db.py after installation

This commit is contained in:
2024-01-17 15:29:28 +01:00
parent d804f7ad53
commit 094aa13397
3 changed files with 4 additions and 2 deletions

View File

@@ -7,11 +7,12 @@ man: man/flaskapp.1.md
deb: man ../requirments.txt ../run.py ../flaskapp ../LICENSE
cp -r ../flaskapp/* flaskapp/var/flaskapp/flaskapp/
cp ../run.py flaskapp/var/flaskapp/
cp ../init_db.py flaskapp/var/flaskapp/
cp ../LICENSE flaskapp/var/flaskapp/
chmod -w flaskapp/DEBIAN/*
chmod +w flaskapp/DEBIAN/control
dpkg-deb --build flaskapp
chmod -w flaskapp/DEBIAN/*
chmod +w flaskapp/DEBIAN/*
clean:
rm -f flaskapp.deb
rm -f man/flaskapp.1