mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 09:09:09 +00:00
(svn r19572) -Change: sync Debian packaging updates from Debian, but keep building a single package
This commit is contained in:
19
os/debian/patches/run-openttd-wrapper.patch
Normal file
19
os/debian/patches/run-openttd-wrapper.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
From: Matthijs Kooijman <matthijs@stdin.nl>
|
||||
Subject: Use a wrapper script for running openttd
|
||||
|
||||
The wrapper script captures stderr from openttd and displays this in
|
||||
case of an error. This patch makes the the .desktop file call the
|
||||
wrapper instead of the openttd binary directly.
|
||||
|
||||
Index: media/openttd.desktop.in
|
||||
===================================================================
|
||||
--- a/media/openttd.desktop.in (revision 17228)
|
||||
+++ b/media/openttd.desktop.in (working copy)
|
||||
@@ -6,6 +6,6 @@
|
||||
Name=!!MENU_NAME!!
|
||||
Comment=A clone of Transport Tycoon Deluxe
|
||||
Icon=openttd
|
||||
-Exec=!!TTD!!
|
||||
+Exec=/usr/share/games/openttd/openttd-wrapper
|
||||
Terminal=false
|
||||
Categories=!!MENU_GROUP!!
|
Reference in New Issue
Block a user