alsa-info.sh - Add another distro to search for
PATCH 1/1 alsa-info.sh - Add another distro to search for
Just allows finding of "Pardus" distro.
alsa-info.sh +1 -1
@@ -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
Signature · 2 lines
Happiness is like peeing your pants. Everyone can see it, but only you can feel its warmth
At Tue, 29 Apr 2008 00:10:52 +1000,
Quoted 2 lines · Travis Place
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
Quoted 43 lines
diff -r
e167861901c7alsa-info.shalsa-info.sh +1
-1@@ -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"#################################################################################
alsa-info.sh +0
-1@@ -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 -mSignature · 6 lines
Happiness is like peeing your pants. Everyone can see it, but only you can feel its warmth _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
PATCH 1/1 alsa-info.sh - Fixed typo that stops the 'Automatic Upload' warning from appearing.
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.
alsa-info.sh +1 -1
@@ -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
Re: [PATCH] alsa-info.sh - Fixed typo that stops the 'Automatic Upload' warning from appearing.
Quoted 39 lines · Travis Place
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
93548f7b2086alsa-info.shalsa-info.sh +1
-1@@ -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" ]]
thenalsa-info.sh +1
-1-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
Quoted 6 lines
Thanks,
Travis Place
_______________________________________________
Alsa-devel mailing list
[email protected]
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
Signature · 2 lines
Happiness is like peeing your pants. Everyone can see it, but only you can feel its warmth
Re: [PATCH] alsa-info.sh - Fixed typo that stops the 'Automatic Upload' warning from appearing.
At Tue, 20 May 2008 02:10:44 +1000,
Quoted 41 lines · Travis Place
Quoted 39 lines · Travis Place
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
93548f7b2086alsa-info.shalsa-info.sh +1
-1@@ -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" ]]
thenalsa-info.sh +1
-1-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
Quoted 9 lines
Quoted 6 lines
Thanks,
Travis Place
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-develDid 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
Re: [PATCH] alsa-info.sh - Fixed typo that stops the 'Automatic Upload' warning from appearing.
In reply to Travis PlaceTravis,
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.
Quoted 44 lines · Travis Place
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
93548f7b2086alsa-info.shalsa-info.sh +1
-1@@ -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"#################################################################################
alsa-info.sh +1
-1@@ -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 0Thanks,
Travis Place
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: [PATCH] alsa-info.sh - Fixed typo that stops the 'Automatic Upload' warning from appearing.
Quoted 50 lines · Ben Stanley
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.
Quoted 39 lines · Travis Place
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
93548f7b2086alsa-info.shalsa-info.sh +1
-1@@ -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" ]]
thenalsa-info.sh +1
-1-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
Quoted 11 lines
Quoted 6 lines
Thanks,
Travis Place
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
No worries, Im sorry that it happened in the first place.
Travis.
Signature · 2 lines
Happiness is like peeing your pants. Everyone can see it, but only you can feel its warmth