From 31d04983c1d5331cdae4f5e8dc249b05455757e9 Mon Sep 17 00:00:00 2001 From: bmaltais Date: Thu, 22 Jun 2023 20:15:54 -0400 Subject: [PATCH] Fix linux setup detection --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index a95939959..9b63de5dc 100755 --- a/setup.sh +++ b/setup.sh @@ -414,7 +414,7 @@ update_kohya_ss() { } # Start OS-specific detection and work -if [[ "$OSTYPE" == "linux-gnu"* ]]; then +if [[ "$OSTYPE" == "lin"* ]]; then # Check if root or sudo root=false if [ "$EUID" = 0 ]; then