Update load-script.sh
This commit is contained in:
parent
078eb19d81
commit
ae1f3bd2c7
1 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,8 @@ map_file="${DIR}/templates/texture-pack/assets/minecraft/textures/map/map_backgr
|
||||||
rm ${map_file}
|
rm ${map_file}
|
||||||
cp ${script_file} ${map_file}
|
cp ${script_file} ${map_file}
|
||||||
# Package resource pack
|
# Package resource pack
|
||||||
rm ${SERVER_DIR}/botc-script-resource-pack.zip
|
|
||||||
pushd "${DIR}/templates"
|
pushd "${DIR}/templates"
|
||||||
zip -r ${DIR}/../botc-script-resource-pack.zip texture-pack
|
mkdir -p /scripts/files
|
||||||
|
rm /scripts/files/botc-script-resource-pack.zip
|
||||||
|
zip -r /scripts/files/botc-script-resource-pack.zip texture-pack
|
||||||
popd
|
popd
|
Loading…
Reference in a new issue