2020-12-09 22:00:20 +00:00
|
|
|
#!/bin/bash
|
|
|
|
REMOTE_URL="https://minio2.hibas123.de/share/fba-patch.tar"
|
2020-12-09 23:20:43 +00:00
|
|
|
RESULT_DIR=/var/www/
|
2020-12-09 22:00:20 +00:00
|
|
|
|
2020-12-10 15:38:40 +00:00
|
|
|
rm -rf fba-patch.tar
|
|
|
|
|
2020-12-09 22:00:20 +00:00
|
|
|
wget $REMOTE_URL
|
|
|
|
|
|
|
|
FILE_PATH=$(pwd)/fba-patch.tar
|
|
|
|
|
2020-12-09 23:21:47 +00:00
|
|
|
cd $RESULT_DIR
|
2020-12-09 22:00:20 +00:00
|
|
|
|
|
|
|
tar --overwrite -xvf $FILE_PATH
|
|
|
|
chown -R caddy:caddy *
|