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.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/wesnoth/wesnoth.install b/community/wesnoth/wesnoth.install
new file mode 100644
index 000000000..0b0b5b5eb
--- /dev/null
+++ b/community/wesnoth/wesnoth.install
@@ -0,0 +1,14 @@
+# 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"
+==> eg. export SDL_AUDIODRIVER="dma" ; wesnoth
+==> If "dma" doesn't work,other options are: dsp,alsa,artsc,esd,nas try to find the right output.
+EOF
+}
+
+post_upgrade() {
+ post_install
+}