summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorRadiohotline <radiohotline@disroot.org>2026-01-08 14:25:31 +0000
committerRadiohotline <radiohotline@disroot.org>2026-01-08 14:25:31 +0000
commit8447267bbe6579255905e313c512ea449309e393 (patch)
treec5bebcad1c9a27844a72ccb0912b92a3b39950a9 /update.sh
parent3ce3f646128590c96d61ca3609d56023cbbcfed9 (diff)
add files
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/update.sh b/update.sh
new file mode 100755
index 0000000..b5c4734
--- /dev/null
+++ b/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
+
+~/bin/neoup -f neocities/index.html