Require bash as necessary. Direct user to zbstudio install instructions.

master
poikilos 2021-03-25 17:57:30 -04:00
parent 709da940a8
commit 43bbdd147d
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
echo
zs_dest=/opt/zbstudio
if [ "$1" == "uninstall" ]; then
@ -27,7 +27,7 @@ if [ "$1" == "uninstall" ]; then
end_ret=1
end_msg="Uninstall FAILED."
fi
bad_file="$zs_dest/zbstudio/api/lua/minetest.lua"
dest_file="$zs_dest/api/lua/minetest.lua"
if [ -f "$bad_file" ]; then
@ -88,7 +88,7 @@ if [ ! -d "$zs_dest" ]; then
fi
if [ ! -d "$zs_dest" ]; then
echo "ERROR: nothing done since missing $zs_dest."
echo "You first must install ZeroBrane studio."
echo "You first must install ZeroBrane studio (See readme)."
exit 3
fi
cd "$mi_path"