0

alsa-lib: add 1.2.11

This commit is contained in:
eleksir
2024-07-06 22:55:00 +03:00
parent 4da8d8c3aa
commit 84b176efe2
7 changed files with 211 additions and 0 deletions

14
alsa-lib/doinst.sh Normal file
View File

@@ -0,0 +1,14 @@
config() {
NEW="$1"
OLD="$(dirname $NEW)/$(basename $NEW .new)"
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
# toss the redundant copy
rm $NEW
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
config etc/asound.conf.new