diff --git a/refreshmods.sh b/refreshmods.sh index d9156e5..b5b0160 100755 --- a/refreshmods.sh +++ b/refreshmods.sh @@ -17,7 +17,8 @@ ls ~/Games/Minecraft/modpack_dev/user >> modlist.md gawk -i inplace 1 ORS='\n\n' modlist.md echo "Zip the mods" -tar -czvf /tmp/krumels_pack_dev_$(date -Idate -u).tar.gz mods +rm /tmp/krumels_pack_dev_$(date -Idate -u).tar.gz +tar -czvf /tmp/krumels_pack_dev_$(date -Idate -u).tar.gz mods config echo "Move mods to the webroot" rsync -e ssh /tmp/krumels_pack_dev_$(date -Idate -u).tar.gz minecraft@krumel.moe:~/webroot/mods