delete old releases
This commit is contained in:
@@ -21,4 +21,7 @@ ln -sfT q-tools.$version.tar.gz ~/www/static/six9.net/software/q-tools/current.
|
|||||||
echo $version > ~/www/static/six9.net/software/q-tools/current.txt
|
echo $version > ~/www/static/six9.net/software/q-tools/current.txt
|
||||||
cd ~/www/static/six9.net/software/q-tools/
|
cd ~/www/static/six9.net/software/q-tools/
|
||||||
rm -r ~/tmp/q-tools-release-$$
|
rm -r ~/tmp/q-tools-release-$$
|
||||||
|
for e in q-tools*; do
|
||||||
|
if [[ $( file-age $e d ) -gt 365 ]]; then rm "$e"; fi;
|
||||||
|
done
|
||||||
SimpleWebPage
|
SimpleWebPage
|
||||||
|
|||||||
Reference in New Issue
Block a user