summary refs log tree commit diff stats
path: root/swag/etc-config-swag/www/rss_update.sh
diff options
context:
space:
mode:
authorBiRabittoh <birabittoh@tilde.institute>2023-07-14 02:47:46 +0200
committerBiRabittoh <birabittoh@tilde.institute>2023-07-14 02:47:46 +0200
commita74b401036377a663e1ba3cd9f0dcfa9abc48e8a (patch)
treed4c070607e14049c34e4512b94dad9a7aa28ce67 /swag/etc-config-swag/www/rss_update.sh
parent69e4666dc46c30cdef0f05173d808e4770b9d59c (diff)
downloadmy-docker-compose-master.tar.gz
add pmwiki, better update scripts HEAD master
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