diff options
author | Ladislav Hagara | 2011-12-14 16:40:03 +0100 |
---|---|---|
committer | Ladislav Hagara | 2011-12-14 16:40:03 +0100 |
commit | 684f0b6b9cb8e92621957159c54771d43b76d05e (patch) | |
tree | a3bb018ed32d79095516f17bb9bfc8325f339765 /audio-drivers/pulseaudio | |
parent | 088c4f4f7cd12772a4045b63b68553516d417275 (diff) |
pulseaudio: UP_TRIGGERS added
Diffstat (limited to 'audio-drivers/pulseaudio')
-rw-r--r-- | audio-drivers/pulseaudio/HISTORY | 1 | ||||
-rwxr-xr-x | audio-drivers/pulseaudio/UP_TRIGGERS | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/audio-drivers/pulseaudio/HISTORY b/audio-drivers/pulseaudio/HISTORY index 5ae0e082eb..6b2ef7e65c 100644 --- a/audio-drivers/pulseaudio/HISTORY +++ b/audio-drivers/pulseaudio/HISTORY @@ -1,6 +1,7 @@ 2011-12-14 Ladislav Hagara <hgr@vabo.cz> * DETAILS: 1.1 * DEPENDS: json-c added + * UP_TRIGGERS: added 2011-09-19 Arjan Bouter <abouter@sourcemage.org> * CONFIGURE: corrected oss options and added ipv6 switches diff --git a/audio-drivers/pulseaudio/UP_TRIGGERS b/audio-drivers/pulseaudio/UP_TRIGGERS new file mode 100755 index 0000000000..862bcb1c94 --- /dev/null +++ b/audio-drivers/pulseaudio/UP_TRIGGERS @@ -0,0 +1,9 @@ +local OLD_SPELL_VERSION="" +spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)" +if [ "${VERSION:0:1}" != "${OLD_SPELL_VERSION:0:1}" ]; then + message "This is an incompatible update of $SPELL..." + message "Figuring out what spells need to be recast, this may take a while." + for each in $(show_up_depends $SPELL 1); do + up_trigger $each cast_self + done +fi |