1 _MSG_LIBOSSDIR=" Please note that OSS stores some of its configuration files
2 at /usr/lib/oss. If you are upgrading from an older OSS
3 release and it doesn't work properly, try removing that
4 directory and reinstall this package."
7 echo "Running OSS install script..."
8 /bin/sh /usr/lib/oss/build/install.sh &> /dev/null
10 echo "-------------------------------------------------------------"
11 echo " Open Sound System was installed. Now you should add 'oss'"
12 echo " to your DAEMONS variable at /etc/rc.conf, and start the"
13 echo " daemon by running /etc/rc.d/oss start."
15 echo " Note that OSS can't currently work together with kernel"
16 echo " ALSA modules, so they were moved out by the OSS install"
17 echo " scripts. If you want the ALSA kernel modules back, you can"
18 echo " just remove this package using pacman."
20 echo "${_MSG_LIBOSSDIR}"
21 echo "-------------------------------------------------------------"
26 echo "Running OSS update script..."
27 /bin/sh /usr/lib/oss/build/install.sh &> /dev/null
29 echo "-------------------------------------------------------------"
30 echo " Open Sound System was updated. Now you should restart the"
31 echo " daemon by running /etc/rc.d/oss restart."
33 echo "${_MSG_LIBOSSDIR}"
34 echo "-------------------------------------------------------------"
39 # Restore any replaced ALSA drivers.
40 /bin/sh /usr/lib/oss/scripts/restore_drv.sh
41 # Remove symlinks left by the 'install.sh' script.
42 rm -f /usr/lib/hal/scripts/oss_usb-create-devices
43 rm -f /usr/share/hal/fdi/policy/20thirdparty/90-oss_usb-create-device.fdi
49 echo "-------------------------------------------------------------"
50 echo " Open Sound System was now removed, and the ALSA kernel"
51 echo " modules were restored."
53 echo " Please note that OSS stores some of its configuration files"
54 echo " at /usr/lib/oss. If you don't plan to use OSS anymore, you"
55 echo " can remove this directory."
56 echo "-------------------------------------------------------------"