From 9d4776f47378310b919f4403a1472d60081d4bbb Mon Sep 17 00:00:00 2001 From: Jan Danielzick Date: Sun, 8 Mar 2020 18:10:42 +0100 Subject: [PATCH] =?UTF-8?q?added=20config=20files...=20=E2=80=99Cause=20I?= =?UTF-8?q?=E2=80=99m=20stoopid.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deployment-script.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deployment-script.sh b/deployment-script.sh index 3995bd7..5dea05a 100644 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -12,10 +12,16 @@ echo "Setting permissions." chmod +x run-once-script.sh echo -ne "import os, sys\nif \"`sha256sum run-once-script.sh`\" == \"`cat ../run-once`\":\n print \"File has not changed. Aborting.\"\n sys.exit()\nelse:\n print \"File has changed. Calculating checksum...\"\n os.system(\"sha256sum run-once-script.sh > ../run-once\")\n print \"\"\"Executing...\n==========\"\"\"\n os.system(\"./run-once-script.sh\")\n print \"\"\"==========\nDone.\"\"\"" | python + echo "Replacing status page..." cp -v ./strassenkind.php /var/www/strassenkind.ip/index.php cp -v ./internal.css /var/www/strassenkind.ip/style.css + +cp -v ./commands_git.conf /var/www/strassenkind.ip/ +cp -v ./commands_ondemand.conf /var/www/strassenkind.ip/ +cp -v ./commands_status.conf /var/www/strassenkind.ip/ echo "Done. + echo "============================================================================== Done."