summaryrefslogtreecommitdiff
path: root/community/wesnoth/wesnoth.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/wesnoth/wesnoth.install')
-rw-r--r--community/wesnoth/wesnoth.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/wesnoth/wesnoth.install b/community/wesnoth/wesnoth.install
index 4f1e419ae..0b0b5b5eb 100644
--- a/community/wesnoth/wesnoth.install
+++ b/community/wesnoth/wesnoth.install
@@ -1,5 +1,6 @@
# arg 1: the new package version
post_install() {
+ systemd-tmpfiles --create wesnothd.conf
cat << EOF
Note:
==> If you experience sound problems try setting your SDL_AUDIODRIVER environment variable to "dma"
@@ -7,3 +8,7 @@ Note:
==> If "dma" doesn't work,other options are: dsp,alsa,artsc,esd,nas try to find the right output.
EOF
}
+
+post_upgrade() {
+ post_install
+}