Skip to content

Commit

Permalink
Detect Fedora variants (ID_LIKE = fedora)
Browse files Browse the repository at this point in the history
fixes #429
  • Loading branch information
LukeZGD committed Mar 8, 2024
1 parent 5347735 commit 75d002b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ set_tool_paths() {
else
debian_ver="$(echo "$debian_ver" | cut -c -2)"
fi
elif [[ $ID == "fedora" || $ID == "nobara" ]]; then
elif [[ $ID == "fedora" || $ID == "nobara" || $ID_LIKE == "fedora" ]]; then
fedora_ver=$VERSION_ID
fi

Expand Down

0 comments on commit 75d002b

Please sign in to comment.