From 39fdc65eddbc29dc2ffe6f7457eaba4c89bab26a Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Wed, 9 Dec 2020 23:00:20 +0100 Subject: [PATCH] Add patch script --- patch.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patch.sh diff --git a/patch.sh b/patch.sh new file mode 100644 index 0000000..3be988a --- /dev/null +++ b/patch.sh @@ -0,0 +1,12 @@ +#!/bin/bash +REMOTE_URL="https://minio2.hibas123.de/share/fba-patch.tar" +RESULT_DIR=/var/lib/caddy/ + +wget $REMOTE_URL + +FILE_PATH=$(pwd)/fba-patch.tar + +cd RESULT_DIR + +tar --overwrite -xvf $FILE_PATH +chown -R caddy:caddy * \ No newline at end of file