Add patch script

This commit is contained in:
Fabian Stamm 2020-12-09 23:00:20 +01:00
parent e5c3c5862e
commit 39fdc65edd

12
patch.sh Normal file
View File

@ -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 *