summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/oss
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-18 05:28:04 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-18 05:28:04 (GMT)
commite58c1a48857bc6338220698f9e2e97b513396936 (patch)
tree56400db9daa8a4d14518f3e2c72aaa944fef13f2 /abs/extra-testing/oss
parent6912c0c8754f2668f3ec0dfde621f70e4fe04f79 (diff)
downloadlinhes_pkgbuild-e58c1a48857bc6338220698f9e2e97b513396936.zip
linhes_pkgbuild-e58c1a48857bc6338220698f9e2e97b513396936.tar.gz
linhes_pkgbuild-e58c1a48857bc6338220698f9e2e97b513396936.tar.bz2
Move alsa module tar file to /lib/modules to avoid depmod from processing a tar file.
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