From 43bbdd147d23c47427fd142251dccfeef4796a4e Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Thu, 25 Mar 2021 17:57:30 -0400 Subject: [PATCH] Require bash as necessary. Direct user to zbstudio install instructions. --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 4af4d21..acd8ab3 100755 --- a/install.sh +++ b/install.sh @@ -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"