From 09ee97ddb08f749d61942b7170da3db694c10ec4 Mon Sep 17 00:00:00 2001 From: Wu Tingfeng Date: Sun, 6 Oct 2024 15:24:10 +0800 Subject: [PATCH] Remove redundant statement --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 494c978..1a2515a 100755 --- a/install.sh +++ b/install.sh @@ -176,7 +176,7 @@ check_say() { check_installation_path() { location="$(command -v mob)" if [ "$(determine_os)" == "windows" ]; then - location=$(echo $location | sed -E 's|^/([a-zA-Z])|\U\1:|; s|/|/|g') + location=$(echo $location | sed -E 's|^/([a-zA-Z])|\U\1:|') fi if [ "$location" != "$target/mob" ] && [ "$location" != "" ]; then echo "(!) The installation location doesn't match the location of the mob binary."