summaryrefslogtreecommitdiff
path: root/neocities/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'neocities/update.sh')
-rwxr-xr-xneocities/update.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/neocities/update.sh b/neocities/update.sh
new file mode 100755
index 0000000..9781f93
--- /dev/null
+++ b/neocities/update.sh
@@ -0,0 +1,6 @@
+NOW=$(date "+%Y-%m-%d %H:%M:%S")
+FILE=neocities/index.html
+
+sed -e "s/Updated: .*<\/p>/Updated: $NOW<\/p>/g" -i '' $FILE
+
+neoup -f neocities/index.html