summaryrefslogtreecommitdiff
path: root/neocities/update.sh
diff options
context:
space:
mode:
authorradiohotline <radiohotline@disroot.org>2026-02-17 15:05:27 +0300
committerradiohotline <radiohotline@disroot.org>2026-02-17 15:05:27 +0300
commit37522616a3efcaa3c7b40821155e8f1fff5c9985 (patch)
treefeb31bee8cc32fd7310559701e39719b2c6c096b /neocities/update.sh
parent435aeb674198769b61b0ee8d82f85a108bacf49e (diff)
parent60eb045c37c24677088f13cdded9408c292f65ff (diff)
maintainence
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