[alsa-devel] [PATCH] alsa-info.sh - Add another distro to search for
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`
At Tue, 29 Apr 2008 00:10:52 +1000, Travis Place wrote:
Just allows finding of "Pardus" distro.
Thanks. I had to apply it manually due to line-breaks. Check the HG repo on hg.alsa-project.org whether it's OK for you.
Takashi
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 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Fixed a typo that was causing no warning about the script automatically uploading info to a pastebin. Some users were NOT too happy with this.
Also, bumped up the version number so existing versions will automatically update to the fixed version upon next script run.
diff -r 93548f7b2086 alsa-info.sh --- a/alsa-info.sh Wed Apr 30 14:47:42 2008 +0200 +++ b/alsa-info.sh Mon May 19 00:01:04 2008 +1000 @@ -1,6 +1,6 @@ #!/bin/bash
-SCRIPT_VERSION=0.4.43 +SCRIPT_VERSION=0.4.44 CHANGELOG="http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh"
################################################################################# @@ -215,7 +215,7 @@ if [ "$QUESTION" = "yes" ]; then if [ "$QUESTION" = "yes" ]; then if [[ -n "$DIALOG" ]] then -if [ -z "NOUPLOAD" ]; then +if [ -z "$NOUPLOAD" ]; then dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nBy default, this script will AUTOMATICALLY UPLOAD your information to a pastebin site.\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0 else dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0
Thanks, Travis Place
On Mon, 19 May 2008 12:08:30 am Travis Place wrote:
Fixed a typo that was causing no warning about the script automatically uploading info to a pastebin. Some users were NOT too happy with this.
Also, bumped up the version number so existing versions will automatically update to the fixed version upon next script run.
diff -r 93548f7b2086 alsa-info.sh --- a/alsa-info.sh Wed Apr 30 14:47:42 2008 +0200 +++ b/alsa-info.sh Mon May 19 00:01:04 2008 +1000 @@ -1,6 +1,6 @@ #!/bin/bash
-SCRIPT_VERSION=0.4.43 +SCRIPT_VERSION=0.4.44 CHANGELOG="http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh"
########################################################################### ###### @@ -215,7 +215,7 @@ if [ "$QUESTION" = "yes" ]; then if [ "$QUESTION" = "yes" ]; then if [[ -n "$DIALOG" ]] then -if [ -z "NOUPLOAD" ]; then +if [ -z "$NOUPLOAD" ]; then dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nBy default, this script will AUTOMATICALLY UPLOAD your information to a pastebin site.\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0 else dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0
Thanks, Travis Place _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Did this one get overlooked ? Its a pretty serious issue to some people, if you upload info without warning them.
Travis Place
At Tue, 20 May 2008 02:10:44 +1000, Travis Place wrote:
On Mon, 19 May 2008 12:08:30 am Travis Place wrote:
Fixed a typo that was causing no warning about the script automatically uploading info to a pastebin. Some users were NOT too happy with this.
Also, bumped up the version number so existing versions will automatically update to the fixed version upon next script run.
diff -r 93548f7b2086 alsa-info.sh --- a/alsa-info.sh Wed Apr 30 14:47:42 2008 +0200 +++ b/alsa-info.sh Mon May 19 00:01:04 2008 +1000 @@ -1,6 +1,6 @@ #!/bin/bash
-SCRIPT_VERSION=0.4.43 +SCRIPT_VERSION=0.4.44 CHANGELOG="http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh"
########################################################################### ###### @@ -215,7 +215,7 @@ if [ "$QUESTION" = "yes" ]; then if [ "$QUESTION" = "yes" ]; then if [[ -n "$DIALOG" ]] then -if [ -z "NOUPLOAD" ]; then +if [ -z "$NOUPLOAD" ]; then dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nBy default, this script will AUTOMATICALLY UPLOAD your information to a pastebin site.\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0 else dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0
Thanks, Travis Place _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Did this one get overlooked ? Its a pretty serious issue to some people, if you upload info without warning them.
Don't worry, I don't forget this but couldn't upload it on ALSA HG repo upstream.
Takashi
Travis,
Thanks for fixing this. I got burned by it today running it on a computer at work. I was none too pleased to see my machine details uploaded.
Anyway, thanks for fixing it.
Ben Stanley.
On Mon, 2008-05-19 at 00:08 +1000, Travis Place wrote:
Fixed a typo that was causing no warning about the script automatically uploading info to a pastebin. Some users were NOT too happy with this.
Also, bumped up the version number so existing versions will automatically update to the fixed version upon next script run.
diff -r 93548f7b2086 alsa-info.sh --- a/alsa-info.sh Wed Apr 30 14:47:42 2008 +0200 +++ b/alsa-info.sh Mon May 19 00:01:04 2008 +1000 @@ -1,6 +1,6 @@ #!/bin/bash
-SCRIPT_VERSION=0.4.43 +SCRIPT_VERSION=0.4.44 CHANGELOG="http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh"
################################################################################# @@ -215,7 +215,7 @@ if [ "$QUESTION" = "yes" ]; then if [ "$QUESTION" = "yes" ]; then if [[ -n "$DIALOG" ]] then -if [ -z "NOUPLOAD" ]; then +if [ -z "$NOUPLOAD" ]; then dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nBy default, this script will AUTOMATICALLY UPLOAD your information to a pastebin site.\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0 else dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0
Thanks, Travis Place _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
On Tue, 20 May 2008 11:07:21 pm Ben Stanley wrote:
Travis,
Thanks for fixing this. I got burned by it today running it on a computer at work. I was none too pleased to see my machine details uploaded.
Anyway, thanks for fixing it.
Ben Stanley.
On Mon, 2008-05-19 at 00:08 +1000, Travis Place wrote:
Fixed a typo that was causing no warning about the script automatically uploading info to a pastebin. Some users were NOT too happy with this.
Also, bumped up the version number so existing versions will automatically update to the fixed version upon next script run.
diff -r 93548f7b2086 alsa-info.sh --- a/alsa-info.sh Wed Apr 30 14:47:42 2008 +0200 +++ b/alsa-info.sh Mon May 19 00:01:04 2008 +1000 @@ -1,6 +1,6 @@ #!/bin/bash
-SCRIPT_VERSION=0.4.43 +SCRIPT_VERSION=0.4.44 CHANGELOG="http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh"
######################################################################### ######## @@ -215,7 +215,7 @@ if [ "$QUESTION" = "yes" ]; then if [ "$QUESTION" = "yes" ]; then if [[ -n "$DIALOG" ]] then -if [ -z "NOUPLOAD" ]; then +if [ -z "$NOUPLOAD" ]; then dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nBy default, this script will AUTOMATICALLY UPLOAD your information to a pastebin site.\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0 else dialog --backtitle "$BGTITLE" --title "ALSA-Info script v $SCRIPT_VERSION" --yesno "\nThis script will collect information about your ALSA installation and sound related hardware, to help diagnose your problem\n\nSee $0 --help for options\n\nDo you want to run this script?" 0 0
Thanks, Travis Place _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
No worries, Im sorry that it happened in the first place.
Travis.
participants (3)
-
Ben Stanley
-
Takashi Iwai
-
Travis Place