diff options
Diffstat (limited to 'add_to_index.sh')
-rwxr-xr-x | add_to_index.sh | 7 |
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 - |