os-prober: try to detect void 32/64 too.
This commit is contained in:
parent
c8925634ba
commit
4225dffad1
2 changed files with 12 additions and 9 deletions
|
@ -1,12 +1,15 @@
|
||||||
--- os-probes/mounted/common/90linux-distro.orig 2014-04-16 09:33:35.940323527 +0200
|
--- 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:34:14.403560106 +0200
|
+++ os-probes/mounted/common/90linux-distro 2014-04-16 09:47:16.956211695 +0200
|
||||||
@@ -110,6 +110,9 @@ if (ls "$dir"/lib*/ld*.so* || ls "$dir"/
|
@@ -112,7 +112,11 @@ 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"
|
- long="Void Linux"
|
||||||
|
+ if file "$dir/sbin/xbps-install"|grep -q 32; then
|
||||||
|
+ long="Void Linux 32"
|
||||||
|
+ else
|
||||||
|
+ long="Void Linux 64"
|
||||||
|
+ fi
|
||||||
elif grep -qs OpenLinux "$dir/etc/issue"; then
|
elif grep -qs OpenLinux "$dir/etc/issue"; then
|
||||||
short="Caldera"
|
short="Caldera"
|
||||||
long="Caldera OpenLinux"
|
long="Caldera OpenLinux"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'os-prober'
|
# Template file for 'os-prober'
|
||||||
pkgname=os-prober
|
pkgname=os-prober
|
||||||
version=1.63
|
version=1.63
|
||||||
revision=4
|
revision=5
|
||||||
make_dirs="/var/lib/os-prober 0755 root root"
|
make_dirs="/var/lib/os-prober 0755 root root"
|
||||||
short_desc="Utility to detect other OSes on a set of drives"
|
short_desc="Utility to detect other OSes on a set of drives"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue