mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
Fix the plugins' postinsts for the Policy-compliant pathnames.
This commit is contained in:
parent
dc736f0d57
commit
1a18e9a4aa
5 changed files with 6 additions and 6 deletions
2
debian/quakeforge-alsa.postinst
vendored
2
debian/quakeforge-alsa.postinst
vendored
|
@ -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#
|
||||
|
||||
|
|
2
debian/quakeforge-alsa.prerm
vendored
2
debian/quakeforge-alsa.prerm
vendored
|
@ -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#
|
||||
|
||||
|
|
4
debian/quakeforge-common.postinst
vendored
4
debian/quakeforge-common.postinst
vendored
|
@ -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
|
||||
|
|
2
debian/quakeforge-oss.postinst
vendored
2
debian/quakeforge-oss.postinst
vendored
|
@ -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#
|
||||
|
||||
|
|
2
debian/quakeforge-oss.prerm
vendored
2
debian/quakeforge-oss.prerm
vendored
|
@ -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#
|
||||
|
||||
|
|
Loading…
Reference in a new issue