add installscript version

This commit is contained in:
Mario Fetka
2023-01-22 11:36:32 +01:00
parent fdc9025463
commit 003b29e5c4
9 changed files with 656 additions and 0 deletions

10
dbp/install-v1.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
MYSTIC_DIR="$1"
sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" cron.sh > ${MYSTIC_DIR}/cron
chmod +x ${MYSTIC_DIR}/cron
sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" banunban.sh > ${MYSTIC_DIR}/banunban
chmod +x ${MYSTIC_DIR}/banunban
sed -e "s!@MYSTIC_DIR@!${MYSTIC_DIR}!g" dbp.ini > ${MYSTIC_DIR}/dbp.ini