Fix the plugins' postinsts for the Policy-compliant pathnames.

This commit is contained in:
Jeff Teunissen 2002-10-01 05:41:56 +00:00
parent dc736f0d57
commit 1a18e9a4aa
5 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh -e
update-alternatives --install /usr/share/games/quake/QFplugins/snd_output_default.so quakeforge-audio-default /usr/share/games/quake/QFplugins/snd_output_alsa0_9.so 100
update-alternatives --install /usr/lib/quakeforge/plugins/snd_output_default.so quakeforge-audio-default /usr/lib/quakeforge/plugins/snd_output_alsa0_9.so 100
#DEBHELPER#

View file

@ -1,6 +1,6 @@
#!/bin/sh
update-alternatives --remove quakeforge-audio-default /usr/share/games/quake/QFplugins/snd_output_alsa0_9.so
update-alternatives --remove quakeforge-audio-default /usr/lib/quakeforge/plugins/snd_output_alsa0_9.so
#DEBHELPER#

View file

@ -1,7 +1,7 @@
#!/bin/sh -e
update-alternatives --install /usr/share/games/quake/QFplugins/snd_output_default.so quakeforge-audio-default /usr/share/games/quake/QFplugins/snd_output_disk.so 10
update-alternatives --install /usr/share/games/quake/QFplugins/snd_output_default.so quakeforge-audio-default /usr/share/games/quake/QFplugins/snd_output_null.so 20
update-alternatives --install /usr/lib/quakeforge/plugins/snd_output_default.so quakeforge-audio-default /usr/lib/quakeforge/plugins/snd_output_disk.so 10
update-alternatives --install /usr/lib/quakeforge/plugins/snd_output_default.so quakeforge-audio-default /usr/lib/quakeforge/plugins/snd_output_null.so 20
if [ "$1" = "configure" ]; then
ldconfig

View file

@ -1,6 +1,6 @@
#!/bin/sh -e
update-alternatives --install /usr/share/games/quake/QFplugins/snd_output_default.so quakeforge-audio-default /usr/share/games/quake/QFplugins/snd_output_oss.so 90
update-alternatives --install /usr/lib/quakeforge/plugins/snd_output_default.so quakeforge-audio-default /usr/lib/quakeforge/plugins/snd_output_oss.so 90
#DEBHELPER#

View file

@ -1,6 +1,6 @@
#!/bin/sh
update-alternatives --remove quakeforge-audio-default /usr/share/games/quake/QFplugins/snd_output_oss.so
update-alternatives --remove quakeforge-audio-default /usr/lib/quakeforge/plugins/snd_output_oss.so
#DEBHELPER#