diff options
author | James Meyer <james.meyer@operamail.com> | 2009-02-22 22:01:24 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-02-22 22:01:24 (GMT) |
commit | 0d47d3fdde570bc1d369b269218ae513976249db (patch) | |
tree | 4d4e9b61d58e863fb388192d0d3eab294dd3ccad /abs/mv-core/oss-sound/oss.install | |
parent | 1c1d31ef134f3a4607cb32ef56e38b9b993f1956 (diff) | |
download | linhes_pkgbuild-0d47d3fdde570bc1d369b269218ae513976249db.zip linhes_pkgbuild-0d47d3fdde570bc1d369b269218ae513976249db.tar.gz linhes_pkgbuild-0d47d3fdde570bc1d369b269218ae513976249db.tar.bz2 |
Remove oss from mv-core. This is now in extra
Diffstat (limited to 'abs/mv-core/oss-sound/oss.install')
-rwxr-xr-x | abs/mv-core/oss-sound/oss.install | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/abs/mv-core/oss-sound/oss.install b/abs/mv-core/oss-sound/oss.install deleted file mode 100755 index 57a8ec6..0000000 --- a/abs/mv-core/oss-sound/oss.install +++ /dev/null @@ -1,56 +0,0 @@ -pre_install() { -#make a backup copy of the alsa modules -KERNAL=`uname -r` -MODULE=/lib/modules/$KERNAL/kernel/sound - -if [ -e $MODULE ] -then - echo "creating archive of alsa modules" - cd $MODULE - cd .. - tar -cvf /lib/modules/$KERNAL/kernel/alsa-$KERNAL.tar sound - rm -rf $MODULE -fi -} - -post_install() { - echo "Probing soundcards, change /usr/lib/oss/etc/installed_drivers as needed afterwards if - you want to disable any of the OSS modules. You can run '/usr/sbin/ossdetect -v' at any time - if you have changed soundcards." - /usr/sbin/ossdetect -v - /sbin/ldconfig - /bin/true -} - -pre_upgrade() { - sv stop oss - pre_install - -} - -post_upgrade() { - sv start oss - echo "If you changed your soundcard, reprobe for soundcards using '/usr/sbin/ossdetect -v'." - /sbin/ldconfig # We need to run this since libflashsupport.so is installed on x86 - /bin/true -} - -pre_remove() { - sv stop off - #sh /usr/lib/oss/scripts/restore_drv.sh -} - -post_remove() { - echo "/usr/lib/oss/ will still contain files after removal as those files were generated by OSS - after instalation. Delete them manually unless you want to keep them for later use." - if [ `uname -m` == "i686" ]; then - rm -f /usr/lib/libflashsupport.so - fi - /bin/true -} - -op=$1 -shift -[ "$(type -t "$op")" = "function" ] && $op "$@" - -# vim:set ts=2 sw=2 et: |