mirror of
https://github.com/thewesker/greptweet.git
synced 2026-03-23 01:56:06 -04:00
Fix dangling symlinks caused by previous create.php versions
This commit is contained in:
@@ -64,5 +64,7 @@ done
|
||||
|
||||
echo $1 saved $saved tweets
|
||||
|
||||
test -L "$1.txt.gz" && rm "$1.txt.gz"
|
||||
gzip -v "$1.txt"
|
||||
ln -sfv "$1.txt.gz" tweets.txt.gz
|
||||
stat -L tweets.txt 2>/dev/null || rm -f tweets.txt
|
||||
|
||||
Reference in New Issue
Block a user