fix bug where zip file is append not overwrite
parent
90f327aca7
commit
5d2cd44796
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
|
@ -1,4 +1,11 @@
|
|||
zip -r PloofPack.zip \
|
||||
FILE="PloofPack.zip"
|
||||
|
||||
if [ -f "$FILE" ]; then
|
||||
rm "$FILE"
|
||||
fi
|
||||
|
||||
|
||||
zip -r "$FILE" \
|
||||
assets/ \
|
||||
pack.mcmeta \
|
||||
pack.png \
|
||||
|
|
|
|||
Loading…
Reference in New Issue