This commit is contained in:
Dylan
2016-01-18 18:21:57 +11:00
parent 27ee879d25
commit f3bc7145e4
2 changed files with 7 additions and 4 deletions

4
fetch
View File

@@ -274,7 +274,7 @@ case "$(uname)" in
os="OpenBSD"
;;
*"BSD" | "DragonFly")
*"BSD")
os="BSD"
;;
@@ -312,7 +312,6 @@ case "$os" in
"BSD")
distro="$(uname -v)"
distro=${distro%% *}
distro=${distro/DragonFly/DragonFlyBSD}
;;
"Windows")
@@ -566,6 +565,7 @@ getcpu () {
;;
*"BSD")
# TODO: Cpu speed for other BSD distros
cpu="$(sysctl -n hw.model)"
;;