summaryrefslogtreecommitdiff
path: root/add_to_index.sh
diff options
context:
space:
mode:
authorb4rkod <lllillilll@protonmail.com>2024-05-15 23:53:37 +0300
committerb4rkod <lllillilll@protonmail.com>2024-05-15 23:53:37 +0300
commitd5365fe018f8adda443c5512e3e390186a19d32e (patch)
tree85290fdb9f45395764e510dedf143bdf4b6254d4 /add_to_index.sh
parent0e97f4e9e7672743bc9b04a2efa0b68d7f9bfa14 (diff)
removed unused files
Diffstat (limited to 'add_to_index.sh')
-rwxr-xr-xadd_to_index.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/add_to_index.sh b/add_to_index.sh
deleted file mode 100755
index ac1a169..0000000
--- a/add_to_index.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-FILE=$(basename $1|sed s/.txt/.html/)
-echo $FILE
-/home/void/www/sh/formatter.sh /home/void/www/blogposts/$(basename $1) >| "$HOME/www/source/blogposts/$FILE"
-$HOME/www/sh/add_to_rss.sh $1
-sed -i "/\<ul id=\"blogposts\"\>/s/$/\n\t\<li\>\<a href=\"blogposts\/$FILE\"\>$FILE\<\/a\>\<\/li\>/" $HOME/www/source/index.html
-