summary refs log tree commit diff stats
path: root/swag/etc-config-swag/www/rss_update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'swag/etc-config-swag/www/rss_update.sh')
-rwxr-xr-xswag/etc-config-swag/www/rss_update.sh7
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