summaryrefslogtreecommitdiff
path: root/libre/oss-libre/oss.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-29 01:17:51 -0700
committerroot <root@rshg054.dnsready.net>2013-06-29 01:17:51 -0700
commit8421e68301cd00265bc8db838e69254316c7133a (patch)
treeaf089edb7cb6846d1fcb4ffc98d3e4f38ea18345 /libre/oss-libre/oss.install
parent0a66b29837912ffee94e074fc35ba46896a96f2a (diff)
Sat Jun 29 01:17:51 PDT 2013
Diffstat (limited to 'libre/oss-libre/oss.install')
-rw-r--r--libre/oss-libre/oss.install25
1 files changed, 25 insertions, 0 deletions
diff --git a/libre/oss-libre/oss.install b/libre/oss-libre/oss.install
new file mode 100644
index 000000000..9bd4e1fbc
--- /dev/null
+++ b/libre/oss-libre/oss.install
@@ -0,0 +1,25 @@
+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
+}
+
+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."
+}
+