mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-20 12:11:05 -05: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
|
echo $1 saved $saved tweets
|
||||||
|
|
||||||
|
test -L "$1.txt.gz" && rm "$1.txt.gz"
|
||||||
gzip -v "$1.txt"
|
gzip -v "$1.txt"
|
||||||
|
ln -sfv "$1.txt.gz" tweets.txt.gz
|
||||||
stat -L tweets.txt 2>/dev/null || rm -f tweets.txt
|
stat -L tweets.txt 2>/dev/null || rm -f tweets.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user