diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-06-28 20:51:04 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-06-28 20:51:04 -0300 |
commit | d5ef8d1e4d76423613bfae63be347e3714b51794 (patch) | |
tree | a685dd0fd28eedde9dea73af4e607d252532a06c /libre/oss-libre/oss.install | |
parent | fb2086c4aad3719d95eb3e6fb33540ab42b6bcef (diff) |
oss-libre: add new package to libre repo
Diffstat (limited to 'libre/oss-libre/oss.install')
-rw-r--r-- | libre/oss-libre/oss.install | 25 |
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." +} + |