diff options
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 |