void-packages/srcpkgs/os-prober/patches/detect-void.patch

13 lines
491 B
Diff
Raw Normal View History

--- os-probes/mounted/common/90linux-distro.orig 2014-04-16 09:33:35.940323527 +0200
+++ os-probes/mounted/common/90linux-distro 2014-04-16 09:34:14.403560106 +0200
@@ -110,6 +110,9 @@ if (ls "$dir"/lib*/ld*.so* || ls "$dir"/
elif [ -e "$dir/sbin/pkgtool" ]; then
short="Slackware"
long="Slackware Linux"
+ elif [ -e "$dir/sbin/xbps-install" ]; then
+ short="Void"
+ long="Void Linux"
elif grep -qs OpenLinux "$dir/etc/issue"; then
short="Caldera"
long="Caldera OpenLinux"