os-prober: fixup wrong patch.

This commit is contained in:
Juan RP 2014-04-16 09:51:10 +02:00
parent 4225dffad1
commit bebe235d01

View file

@ -1,11 +1,12 @@
--- os-probes/mounted/common/90linux-distro.orig 2014-04-16 09:43:51.787547427 +0200 --- os-probes/mounted/common/90linux-distro.orig 2014-04-16 09:49:59.028554885 +0200
+++ os-probes/mounted/common/90linux-distro 2014-04-16 09:47:16.956211695 +0200 +++ os-probes/mounted/common/90linux-distro 2014-04-16 09:50:54.603990982 +0200
@@ -112,7 +112,11 @@ if (ls "$dir"/lib*/ld*.so* || ls "$dir"/ @@ -110,6 +110,13 @@ if (ls "$dir"/lib*/ld*.so* || ls "$dir"/
elif [ -e "$dir/sbin/pkgtool" ]; then
short="Slackware"
long="Slackware Linux" long="Slackware Linux"
elif [ -e "$dir/sbin/xbps-install" ]; then + elif [ -e "$dir/sbin/xbps-install" ]; then
short="Void" + short="Void"
- long="Void Linux" + if file "$dir/sbin/xbps-install"|grep -q 32-bit; then
+ if file "$dir/sbin/xbps-install"|grep -q 32; then
+ long="Void Linux 32" + long="Void Linux 32"
+ else + else
+ long="Void Linux 64" + long="Void Linux 64"