FBA-DeploymentScripts/patch.sh
2020-12-10 16:38:40 +01:00

14 lines
236 B
Bash
Executable File

#!/bin/bash
REMOTE_URL="https://minio2.hibas123.de/share/fba-patch.tar"
RESULT_DIR=/var/www/
rm -rf fba-patch.tar
wget $REMOTE_URL
FILE_PATH=$(pwd)/fba-patch.tar
cd $RESULT_DIR
tar --overwrite -xvf $FILE_PATH
chown -R caddy:caddy *