blob: 672d636447b06b5d316d7e1bc7e2049cfa3e4396 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
post_install() {
echo "Running OSS install script..."
sh /usr/lib/oss/build/install.sh &>/dev/null
echo
echo " Note that OSS can't currently work together with kernel"
echo " ALSA modules, so they were moved out by the OSS install"
echo " scripts. If you want the ALSA kernel modules back, you can"
echo " just remove this package using pacman."
}
post_upgrade() {
echo "Running OSS update script..."
sh /usr/lib/oss/build/install.sh &>/dev/null
if [[ $(vercmp $2 4.2_2006) == "-1" ]]; then
echo "libflashsupport.so has been split into a seperate package."
echo "If you want flash to use oss, please install libflashsupport-oss"
fi
}
pre_remove() {
# Restore any replaced ALSA drivers.
sh /usr/lib/oss/scripts/restore_drv.sh
}
post_remove() {
echo " Open Sound System was now removed, and the ALSA kernel"
echo " modules were restored."
}
|