summaryrefslogtreecommitdiff
path: root/neocities/update.sh
diff options
context:
space:
mode:
authorRadiohotline <radiohotline@disroot.org>2026-02-17 12:12:37 +0000
committerRadiohotline <radiohotline@disroot.org>2026-02-17 12:12:37 +0000
commit223ef7acb24356fca6cf5ab40c02b43a09452093 (patch)
treed845297a50e78f9ca9c37c113b78b8a2aaa1c138 /neocities/update.sh
parentcae6b00e0f3352a323af2400bf7f9deb7460c7de (diff)
parent37522616a3efcaa3c7b40821155e8f1fff5c9985 (diff)
about
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