[alsa-devel] [PATCH] alsa-info.sh - Add another distro to search for

Travis Place wishie at wishie.net
Mon Apr 28 16:10:52 CEST 2008


Just allows finding of "Pardus" distro.


diff -r e167861901c7 alsa-info.sh
--- a/alsa-info.sh	Tue Feb 26 10:55:47 2008 +0100
+++ b/alsa-info.sh	Tue Apr 29 00:09:20 2008 +1000
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-SCRIPT_VERSION=0.4.41
+SCRIPT_VERSION=0.4.42
 CHANGELOG="http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh"
 
 
#################################################################################
@@ -270,7 +270,7 @@ mkdir $TEMPDIR 2>/dev/null
 mkdir $TEMPDIR 2>/dev/null
 
 #Fetch the info and store in temp files/variables
-DISTRO=`grep -ihs "buntu\|SUSE\|Fedora\|PCLinuxOS\|MEPIS\|Mandriva\|Debian\|
Damn\|Sabayon\|Slackware\|KNOPPIX\|Gentoo\|Zenwalk\|Mint\|Kubuntu\|FreeBSD\|
Puppy\|Freespire\|Vector\|Dreamlinux\|CentOS\|Arch\|Xandros\|Elive\|SLAX\|
Red\|BSD\|KANOTIX\|Nexenta\|Foresight\|GeeXboX\|Frugalware\|64\|
SystemRescue\|Novell\|Solaris\|BackTrack\|
KateOS" /etc/{issue,*release,*version}`
+DISTRO=`grep -ihs "buntu\|SUSE\|Fedora\|PCLinuxOS\|MEPIS\|Mandriva\|Debian\|
Damn\|Sabayon\|Slackware\|KNOPPIX\|Gentoo\|Zenwalk\|Mint\|Kubuntu\|FreeBSD\|
Puppy\|Freespire\|Vector\|Dreamlinux\|CentOS\|Arch\|Xandros\|Elive\|SLAX\|
Red\|BSD\|KANOTIX\|Nexenta\|Foresight\|GeeXboX\|Frugalware\|64\|
SystemRescue\|Novell\|Solaris\|BackTrack\|KateOS\|
Pardus" /etc/{issue,*release,*version}`
 KERNEL_VERSION=`uname -r`
 KERNEL_PROCESSOR=`uname -p`
 KERNEL_MACHINE=`uname -m`


-- 
Happiness is like peeing your pants. Everyone can see it, but only you can 
feel its warmth 


More information about the Alsa-devel mailing list