diff options
author | James Meyer <james.meyer@operamail.com> | 2009-02-18 05:28:04 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-02-18 05:28:04 (GMT) |
commit | e58c1a48857bc6338220698f9e2e97b513396936 (patch) | |
tree | 56400db9daa8a4d14518f3e2c72aaa944fef13f2 /abs/extra-testing/oss/oss.install | |
parent | 6912c0c8754f2668f3ec0dfde621f70e4fe04f79 (diff) | |
download | linhes_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/oss.install')
-rw-r--r-- | abs/extra-testing/oss/oss.install | 5 |
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 |