Install rewrite v2.1

This commit is contained in:
Jokob-sk
2023-10-29 22:33:15 +11:00
parent baec65fde7
commit c8e494596e
3 changed files with 5 additions and 0 deletions

2
config/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

2
db/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*
!.gitignore

View File

@@ -86,6 +86,7 @@ fi
echo "[INSTALL] Copy starter pialert.db and pialert.conf if they don't exist"
# Copy starter pialert.db and pialert.conf if they don't exist
# cp -n "/home/pi/pialert/back/pialert.conf" "/home/pi/pialert/config/pialert.conf"
cp -n "$INSTALL_DIR/pialert/back/pialert.conf" "$INSTALL_DIR/pialert/config/pialert.conf"
cp -n "$INSTALL_DIR/pialert/back/pialert.db" "$INSTALL_DIR/pialert/db/pialert.db"