- fixed app dir
- fixed missing readme and version file
- keep config on update/remove
This commit is contained in:
Oscar Krause
2022-12-28 07:40:44 +01:00
parent cca24f0ad5
commit 6b3f536681
3 changed files with 10 additions and 7 deletions

View File

@@ -12,9 +12,10 @@ build:debian:
- mkdir build
# copy install instructions
- cp -r DEBIAN build/
# copy app
# copy app into "/usr/share/fastapi-dls" as "/usr/share/fastapi-dls/app" & copy README.md and version.env
- mkdir -p build/usr/share/
- cp -r app build/usr/share/fastapi-dls
- cp -r app build/usr/share/fastapi-dls/
- cp README.md version.env build/usr/share/fastapi-dls
# create conf file
- mkdir -p build/etc/fastapi-dls
- touch build/etc/fastapi-dls/env