forked from root/threadr.lostcave.ddnss.de
added config files... ’Cause I’m stoopid.
parent
e00f134195
commit
9d4776f473
|
@ -12,10 +12,16 @@ echo "Setting permissions."
|
||||||
chmod +x run-once-script.sh
|
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 -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..."
|
echo "Replacing status page..."
|
||||||
cp -v ./strassenkind.php /var/www/strassenkind.ip/index.php
|
cp -v ./strassenkind.php /var/www/strassenkind.ip/index.php
|
||||||
cp -v ./internal.css /var/www/strassenkind.ip/style.css
|
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.
|
||||||
|
|
||||||
|
|
||||||
echo "==============================================================================
|
echo "==============================================================================
|
||||||
Done."
|
Done."
|
||||||
|
|
Loading…
Reference in New Issue