updated to 1.0.18 final
This commit is contained in:
parent
d4aee049f5
commit
68170257f5
@ -18,3 +18,4 @@ alsa-utils-1.0.15rc1.tar.bz2
|
|||||||
alsa-utils-1.0.16.tar.bz2
|
alsa-utils-1.0.16.tar.bz2
|
||||||
alsa-utils-1.0.17.tar.bz2
|
alsa-utils-1.0.17.tar.bz2
|
||||||
alsa-utils-1.0.18rc3.tar.bz2
|
alsa-utils-1.0.18rc3.tar.bz2
|
||||||
|
alsa-utils-1.0.18.tar.bz2
|
||||||
|
41
alsa-info.sh
41
alsa-info.sh
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
SCRIPT_VERSION=0.4.51
|
SCRIPT_VERSION=0.4.52
|
||||||
CHANGELOG="http://www.alsa-project.org/alsa-info.sh.changelog"
|
CHANGELOG="http://www.alsa-project.org/alsa-info.sh.changelog"
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
@ -46,26 +46,45 @@ update() {
|
|||||||
if [ "$REMOTE_VERSION" != "$SCRIPT_VERSION" ]; then
|
if [ "$REMOTE_VERSION" != "$SCRIPT_VERSION" ]; then
|
||||||
if [[ -n $DIALOG ]]
|
if [[ -n $DIALOG ]]
|
||||||
then
|
then
|
||||||
|
if [ -w $0 ]; then
|
||||||
dialog --yesno "Newer version of ALSA-Info has been found\n\nDo you wish to install it?" 0 0
|
dialog --yesno "Newer version of ALSA-Info has been found\n\nDo you wish to install it?" 0 0
|
||||||
|
else
|
||||||
|
dialog --yesno "Newer version of ALSA-Info has been found\n\nDo you wish to download it?" 0 0
|
||||||
|
fi
|
||||||
DIALOG_EXIT_CODE=$?
|
DIALOG_EXIT_CODE=$?
|
||||||
if [[ $DIALOG_EXIT_CODE = 0 ]]
|
if [[ $DIALOG_EXIT_CODE = 0 ]]
|
||||||
then
|
then
|
||||||
|
echo "Newer version detected: $REMOTE_VERSION"
|
||||||
|
echo "To view the ChangeLog, please visit $CHANGELOG"
|
||||||
|
if [ -w $0 ]; then
|
||||||
cp /tmp/alsa-info.sh $0
|
cp /tmp/alsa-info.sh $0
|
||||||
echo "ALSA-Info script has been updated to v $REMOTE_VERSION"
|
echo "ALSA-Info script has been updated to v $REMOTE_VERSION"
|
||||||
echo "To view the ChangeLog, please visit $CHANGELOG"
|
|
||||||
echo "Please re-run the script"
|
echo "Please re-run the script"
|
||||||
|
rm /tmp/alsa-info.sh 2>/dev/null
|
||||||
|
else
|
||||||
|
echo "ALSA-Info script has been downloaded as /tmp/alsa-info.sh."
|
||||||
|
echo "Please re-run the script from new location."
|
||||||
|
fi
|
||||||
|
exit
|
||||||
|
else
|
||||||
|
rm /tmp/alsa-info.sh 2>/dev/null
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "Newer version detected: $REMOTE_VERSION"
|
||||||
|
echo "To view the ChangeLog, please visit $CHANGELOG"
|
||||||
|
if [ -w $0 ]; then
|
||||||
|
cp /tmp/alsa-info.sh $0
|
||||||
|
echo "ALSA-Info script has been updated. Please re-run it."
|
||||||
|
rm /tmp/alsa-info.sh 2>/dev/null
|
||||||
|
else
|
||||||
|
echo "ALSA-Info script has been downloaded as /tmp/alsa-info.sh."
|
||||||
|
echo "Please, re-run it from new location."
|
||||||
|
fi
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
cp /tmp/alsa-info.sh $0
|
|
||||||
echo "Newer version detected: $REMOTE_VERSION"
|
|
||||||
echo "To view the ChangeLog, please visit $CHANGELOG"
|
|
||||||
echo "ALSA-Info script has been updated. Please re-run it."
|
|
||||||
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
rm /tmp/alsa-info.sh 2>/dev/null
|
rm /tmp/alsa-info.sh 2>/dev/null
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup() {
|
cleanup() {
|
||||||
@ -373,7 +392,7 @@ echo "" >> $FILE
|
|||||||
echo "" >> $FILE
|
echo "" >> $FILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d $SYSFS ]
|
if [ -d "$SYSFS" ]
|
||||||
then
|
then
|
||||||
echo "!!Loaded sound module options" >> $FILE
|
echo "!!Loaded sound module options" >> $FILE
|
||||||
echo "!!--------------------------" >> $FILE
|
echo "!!--------------------------" >> $FILE
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
%define prever rc3
|
#define prever rc3
|
||||||
%define prever_dot .rc3
|
#define prever_dot .rc3
|
||||||
|
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||||
Name: alsa-utils
|
Name: alsa-utils
|
||||||
Version: 1.0.18
|
Version: 1.0.18
|
||||||
Release: 3%{?prever_dot}%{?dist}
|
Release: 4%{?prever_dot}%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
URL: http://www.alsa-project.org/
|
URL: http://www.alsa-project.org/
|
||||||
@ -96,6 +96,10 @@ if [ -s /etc/alsa/asound.state -a ! -s /etc/asound.state ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 04 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-4
|
||||||
|
- updated to 1.0.18 final
|
||||||
|
- updated alsa-info.sh script
|
||||||
|
|
||||||
* Thu Sep 18 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-3.rc3
|
* Thu Sep 18 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.18-3.rc3
|
||||||
- fixed alsa-info.sh link
|
- fixed alsa-info.sh link
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user