From 2e2bcebf1b3b58e1c96967739f3ac66f6903a945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Wed, 14 Aug 2024 16:05:08 +0200 Subject: [PATCH] packaging: Ensure canberra refreshes its cache Otherwise new sounds won't be recognized. This unbreaks fbcli -E phone-hangup on systems that already had sound-theme-phosh installed. --- debian/sound-theme-phosh.postinst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 debian/sound-theme-phosh.postinst diff --git a/debian/sound-theme-phosh.postinst b/debian/sound-theme-phosh.postinst new file mode 100644 index 0000000..33bd57d --- /dev/null +++ b/debian/sound-theme-phosh.postinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + # Make sure canbarre refreshes it's event-sound-cache.tdb + touch /usr/share/sounds + ;; +esac + +#DEBHELPER# + -- GitLab