diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-09-02 15:08:36 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-09-02 15:08:36 +0200 |
commit | ef73ef065ed1d2cb5f95b208d90369db93677323 (patch) | |
tree | fb248690008f024bd968e896a06cb482999c151e | |
parent | 35bcd7435109cf7d93d2f8b2057067ee19ec7a23 (diff) |
Print warning before installing shell
-rwxr-xr-x | install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,8 +15,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. -./shell_only.sh - set -e echo -e "\e[1m\e[1;31mMAKE SURE YOU ARE IN THE DIRECTORY THIS SCRIPT IS LOCATED IN!" @@ -24,6 +22,8 @@ echo -e "\e[0m\e[1;31mIf you're sure you are in the correct dir, press Enter." read echo -e "\e[0m" +./shell_only.sh + function command_exists { command -v $1 &> /dev/null } |