diff options
author | BiRabittoh <birabittoh@tilde.institute> | 2023-07-14 02:47:46 +0200 |
---|---|---|
committer | BiRabittoh <birabittoh@tilde.institute> | 2023-07-14 02:47:46 +0200 |
commit | a74b401036377a663e1ba3cd9f0dcfa9abc48e8a (patch) | |
tree | d4c070607e14049c34e4512b94dad9a7aa28ce67 /swag/etc-config-swag/www/rss_update.sh | |
parent | 69e4666dc46c30cdef0f05173d808e4770b9d59c (diff) | |
download | my-docker-compose-master.tar.gz |
Diffstat (limited to 'swag/etc-config-swag/www/rss_update.sh')
-rwxr-xr-x | swag/etc-config-swag/www/rss_update.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/swag/etc-config-swag/www/rss_update.sh b/swag/etc-config-swag/www/rss_update.sh new file mode 100755 index 0000000..97b4b31 --- /dev/null +++ b/swag/etc-config-swag/www/rss_update.sh @@ -0,0 +1,7 @@ +#!/bin/sh +LINK=https://raw.githubusercontent.com/tontof/kriss_feed/master/ +FILENAME=index.php +SUBFOLDER="$(dirname "$0")/rss/" + +mkdir $SUBFOLDER +wget -O $SUBFOLDER$FILENAME $LINK$FILENAME |