From 9209f0bf3f848d6a80894280b8409f00402b666a Mon Sep 17 00:00:00 2001 From: Marcel Schwarz Date: Sat, 21 Mar 2020 02:07:42 +0100 Subject: [PATCH] Fix warnings in lnxtools.sh change apt to apt-get --- lnxtools.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lnxtools.sh b/lnxtools.sh index 77ef64b..3dc3971 100755 --- a/lnxtools.sh +++ b/lnxtools.sh @@ -5,13 +5,13 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" if [ "$1" == "prepare" ] then echo "Preparing your system for the first run" - apt update -y && apt upgrade -y - apt install python3.7 python3-pip -y + apt-get update -y && apt-get upgrade -y + apt-get install python3.7 python3-pip -y pip3 install setuptools wheel regex - cd $DIR + cd "$DIR" || exit pip3 install -r requirements.txt python3 main.py helloworld else - cd $DIR + cd "$DIR" || exit python3 main.py "$@" fi