From 895a3500dc2eb0fc57f23dcbd9534f0576aee93d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20Y=C4=B1lmaz?= Date: Sat, 24 Mar 2018 22:12:37 +0300 Subject: [PATCH 1/2] * Fixed installation problem on debian about home path. --- install | 1 + 1 file changed, 1 insertion(+) diff --git a/install b/install index 8077361..0b0b2a6 100755 --- a/install +++ b/install @@ -32,6 +32,7 @@ if [ $EUID -ne 0 ]; then exit fi +HOME=$(eval echo ~${SUDO_USER}) GOTO_FILE_LOCATION='/usr/local/share/goto.sh' RC="" if [ -f ~/.bashrc ]; then From 265f02709553eff0119b095008ae1fd2936f5d22 Mon Sep 17 00:00:00 2001 From: Lazarus Lazaridis Date: Sat, 24 Mar 2018 21:28:01 +0200 Subject: [PATCH 2/2] Fix shellcheck warning Comply with https://github.com/koalaman/shellcheck/wiki/SC2086 --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 0b0b2a6..adc64ad 100755 --- a/install +++ b/install @@ -32,7 +32,7 @@ if [ $EUID -ne 0 ]; then exit fi -HOME=$(eval echo ~${SUDO_USER}) +HOME=$(eval echo "~${SUDO_USER}") GOTO_FILE_LOCATION='/usr/local/share/goto.sh' RC="" if [ -f ~/.bashrc ]; then