Skip to contentSkip to conversation

alsa-info.sh - Add another distro to search for

PATCH In review Travis Place 3 participants 7 messages Apr 28, 2008 – May 20, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alsa-info.sh - Add another distro to search for

Just allows finding of "Pardus" distro.

alsa-info.sh +1 -1
diff -r e167861901c7 alsa-info.sh
@@ -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 
#1 lore raw

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 e167861901c7 alsa-info.sh

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"
 
 

#################################################################################

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 -m

Signature · 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
#2 lore raw

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
diff -r 93548f7b2086 alsa-info.sh
@@ -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

#3 lore raw

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 93548f7b2086 alsa-info.sh

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

alsa-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 
#4 lore raw

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 93548f7b2086 alsa-info.sh

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

alsa-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-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

#5 lore raw

Re: [PATCH] alsa-info.sh - Fixed typo that stops the 'Automatic Upload' warning from appearing.

In reply to Travis Place

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 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 93548f7b2086 alsa-info.sh

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"
 
 

#################################################################################

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 0

Thanks,
Travis Place
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#6 lore raw

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 93548f7b2086 alsa-info.sh

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

alsa-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