Upload files to "bin"
This commit is contained in:
@@ -24,7 +24,7 @@ fi
|
|||||||
if [ "${BL_UNZIP_ADDONS:-0}" -eq 1 ]; then
|
if [ "${BL_UNZIP_ADDONS:-0}" -eq 1 ]; then
|
||||||
echo "Processing Add-Ons zips..."
|
echo "Processing Add-Ons zips..."
|
||||||
|
|
||||||
cd "$HOME/Add-Ons" || exit 1
|
cd /home/container/Add-Ons || exit 1
|
||||||
|
|
||||||
for zip in *.zip; do
|
for zip in *.zip; do
|
||||||
[ -f "$zip" ] || continue
|
[ -f "$zip" ] || continue
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ fi
|
|||||||
if [ "${BL_UNZIP_ADDONS:-0}" -eq 1 ]; then
|
if [ "${BL_UNZIP_ADDONS:-0}" -eq 1 ]; then
|
||||||
echo "Processing Add-Ons zips..."
|
echo "Processing Add-Ons zips..."
|
||||||
|
|
||||||
cd "$HOME/Add-Ons" || exit 1
|
cd /home/container/Add-Ons || exit 1
|
||||||
|
|
||||||
for zip in *.zip; do
|
for zip in *.zip; do
|
||||||
[ -f "$zip" ] || continue
|
[ -f "$zip" ] || continue
|
||||||
@@ -71,8 +71,8 @@ if [ "${BL_UNZIP_ADDONS:-0}" -eq 1 ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure we're in the correct directory
|
# Ensure we're in the correct directory (server root where Blockland.exe lives)
|
||||||
cd "$HOME" || exit 1
|
cd /home/container || exit 1
|
||||||
|
|
||||||
if [ ! -f "Blockland.exe" ]; then
|
if [ ! -f "Blockland.exe" ]; then
|
||||||
echo "Blockland.exe not found!"
|
echo "Blockland.exe not found!"
|
||||||
|
|||||||
Reference in New Issue
Block a user