Skip to content

Commit

Permalink
Fix linux setup detection
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaltais committed Jun 23, 2023
1 parent 8c3c6a4 commit 31d0498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31d0498

Please sign in to comment.