old htaccess entry deleted on publish
This commit is contained in:
parent
1e5612f2c3
commit
3dd70e7f6c
1
lb
1
lb
|
@ -49,6 +49,7 @@ publish() { \
|
|||
sed -i "/<!-- LB -->/r $tmpdir/html" "$blogfile"
|
||||
sed -i "/<!-- LB -->/r $tmpdir/rss" "$rssfile"
|
||||
sed -i "/<!-- LB -->/r $tmpdir/index" "$indexfile"
|
||||
sed -i "/ \"$base.html\"/d" "$webdir/blog/.htaccess"
|
||||
printf "\\nAddDescription \"%s\" \"%s\" #%s" "$realname" "$basefile" "$rssdate" >> "$webdir/blog/.htaccess"
|
||||
rm -f "$webdir/blog/.drafts/$chosen"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue