summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/oss
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/oss')
-rw-r--r--abs/extra-testing/oss/PKGBUILD2
-rw-r--r--abs/extra-testing/oss/oss.install5
2 files changed, 3 insertions, 4 deletions
diff --git a/abs/extra-testing/oss/PKGBUILD b/abs/extra-testing/oss/PKGBUILD
index c2ac70e..d568ff3 100644
--- a/abs/extra-testing/oss/PKGBUILD
+++ b/abs/extra-testing/oss/PKGBUILD
@@ -3,7 +3,7 @@
pkgname="oss"
pkgver="4.1_1051"
-pkgrel=6
+pkgrel=7
pkgdesc="Open Sound System UNIX audio architecture"
arch=('i686' 'x86_64')
url="http://developer.opensound.com/"
diff --git a/abs/extra-testing/oss/oss.install b/abs/extra-testing/oss/oss.install
index 0107686..8c4bd0a 100644
--- a/abs/extra-testing/oss/oss.install
+++ b/abs/extra-testing/oss/oss.install
@@ -7,7 +7,7 @@ post_install() {
echo "Creating backup of alsa modules"
KER=`uname -r`
cd /lib/modules/$KER/kernel
- tar -cvf alsa-$KER.tar sound
+ tar -cvf /lib/modules/alsa-$KER.tar sound
rm -rf sound
# /bin/sh /usr/lib/oss/build/install.sh &> /dev/null
depmod -a
@@ -20,7 +20,7 @@ post_upgrade() {
cd /lib/modules/$KER/kernel
if [ -f sound/soundcore.ko ]
then
- tar -cvf alsa-$KER.tar sound
+ tar -cvf /lib/modules/alsa-$KER.tar sound
rm -rf sound
/bin/true
fi
@@ -36,4 +36,3 @@ post_remove() {
/bin/true
}
- \ No newline at end of file