From 7007b1751d146735947936a57768e77aafbcdab5 Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Fri, 22 Jan 2021 11:40:21 +0100
Subject: [PATCH] New fix for the install process...

---
 stpkg | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/stpkg b/stpkg
index 130ea68..33198ec 100755
--- a/stpkg
+++ b/stpkg
@@ -329,7 +329,9 @@ if [ "x$1" = "x-install" ]; then
         && echo "!!! STPKG_NO_MSG is turn on, you won't see what's going on during the install"
     shift
     REPO_DIR="$(dirname SELF)"
-    [ ! "$REPO_DIR" = "$BASE_DIR" ] && die "You must run this script from the root of the sticker repo"
+    [ "$REPO_DIR" = "$BASE_DIR" ] || die \
+        "You must run this script from the root of the sticker repo." \
+        "You are in '$BASE_DIR' and should be in '$REPO_DIR'"
     __install $*
     exit 0
 fi
-- 
GitLab