From bebe235d01c4166230045c205f0f9d8682084209 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 16 Apr 2014 09:51:10 +0200 Subject: [PATCH] os-prober: fixup wrong patch. --- srcpkgs/os-prober/patches/detect-void.patch | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/srcpkgs/os-prober/patches/detect-void.patch b/srcpkgs/os-prober/patches/detect-void.patch index 56856684eb9..6c568699628 100644 --- a/srcpkgs/os-prober/patches/detect-void.patch +++ b/srcpkgs/os-prober/patches/detect-void.patch @@ -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 2014-04-16 09:47:16.956211695 +0200 -@@ -112,7 +112,11 @@ if (ls "$dir"/lib*/ld*.so* || ls "$dir"/ +--- 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:50:54.603990982 +0200 +@@ -110,6 +110,13 @@ 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" -+ if file "$dir/sbin/xbps-install"|grep -q 32; then ++ elif [ -e "$dir/sbin/xbps-install" ]; then ++ short="Void" ++ if file "$dir/sbin/xbps-install"|grep -q 32-bit; then + long="Void Linux 32" + else + long="Void Linux 64"