clear appcache symlink if there is one

This commit is contained in:
Kai Hendry
2012-07-15 21:52:21 +02:00
parent 86dfd044aa
commit 7cc21c9119
2 changed files with 2 additions and 2 deletions

View File

@@ -104,7 +104,8 @@ END
fi fi
ln -sf $id.txt tweets.txt ln -sf $id.txt tweets.txt
sed -e "s,TIMESTAMP,$(date)," ../../greptweet.appcache > greptweet.appcache test -h greptweet.appcache && rm -f greptweet.appcache
sed -e "s,TIMESTAMP,$(date)," ../../greptweet.appcache > greptweet.appcache
else else
rm -rf $oldpwd/u/$id rm -rf $oldpwd/u/$id

View File

@@ -1,7 +1,6 @@
#!/bin/sh #!/bin/sh
# vim: set ts=4 sw=4 # vim: set ts=4 sw=4
umask 002 umask 002
api="http://api.twitter.com/1/statuses/user_timeline.xml?" api="http://api.twitter.com/1/statuses/user_timeline.xml?"