summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/oss/oss.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/oss/oss.install')
-rw-r--r--abs/extra-testing/oss/oss.install5
1 files changed, 2 insertions, 3 deletions
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