summaryrefslogtreecommitdiff
path: root/os-prober/Fix-CRUX-grub-menu-entry-detection.patch
blob: 87c7a64c6ad144349b3a4e5f4e9c1fba7be2d1bb (plain)
    1 --- a/os-probes/mounted/common/90linux-distro	2017-05-04 14:57:23.197520770 +0800
    2 +++ b/os-probes/mounted/common/90linux-distro	2017-05-04 15:09:13.848541790 +0800
    3 @@ -137,6 +137,9 @@ if (ls "$dir"/lib*/ld*.so* && [ -d "$dir
    4  	elif [ -e "$dir/etc/devuan_version" ]; then
    5  		short="Devuan"
    6  		long="$(printf "Devuan GNU/Linux (%s)\n" "$(cat "$dir/etc/devuan_version")")"
    7 +	elif [ -e "$dir/usr/bin/crux" ]; then
    8 +		short="CRUX"
    9 +		long="$(printf "CRUX GNU/Linux" "$(cat "$dir/usr/bin/crux" | grep echo | cut -b 20-22)")"
   10  	else
   11  		short="Linux"
   12  		long="unknown Linux distribution"

Generated by cgit