From d32fcb63390bccd408d7de13e377b23864e40e39 Mon Sep 17 00:00:00 2001 From: Ominitay <37453713+Ominitay@users.noreply.github.com> Date: Sat, 24 Oct 2020 22:36:22 +0100 Subject: [PATCH 1/2] Fix running tui script from other directories. --- tui-script/QBeat-tui | 50 +++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/tui-script/QBeat-tui b/tui-script/QBeat-tui index ebafcff..e0fe82d 100755 --- a/tui-script/QBeat-tui +++ b/tui-script/QBeat-tui @@ -1,11 +1,13 @@ #!/bin/bash args=$@ +scriptname=`basename ${0}` +scriptpath=`dirname ${0}` function usage { # Outputs help menu; more to be added to in future, perhaps with more options. cat < Date: Sat, 24 Oct 2020 22:39:18 +0100 Subject: [PATCH 2/2] Make mod installation look nicer --- tui-script/QBeat-tui | 1 + 1 file changed, 1 insertion(+) diff --git a/tui-script/QBeat-tui b/tui-script/QBeat-tui index e0fe82d..e9941b7 100755 --- a/tui-script/QBeat-tui +++ b/tui-script/QBeat-tui @@ -690,6 +690,7 @@ EOF else for mod in "${modarray[@]}" do + echo "-----------------------------" ${scriptpath}/QBeat --install $mod if [ $? == 1 ] then