[freeciv] 02/04: Install freeciv wrapper script into freeciv metapackage.
    Markus Koschany 
    apo-guest at moszumanska.debian.org
       
    Tue Jun 23 17:00:41 UTC 2015
    
    
  
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository freeciv.
commit 7dd864d1088fe44d3004f84b3260ce8d11197803
Author: Markus Koschany <apo at gambaru.de>
Date:   Tue Jun 23 14:30:37 2015 +0200
    Install freeciv wrapper script into freeciv metapackage.
    
    Provide a wrapper script to launch the recommended game client with the freeciv
    command.
---
 debian/bin/freeciv     | 5 +++++
 debian/freeciv.install | 1 +
 2 files changed, 6 insertions(+)
diff --git a/debian/bin/freeciv b/debian/bin/freeciv
new file mode 100755
index 0000000..84cf828
--- /dev/null
+++ b/debian/bin/freeciv
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+exec /usr/games/freeciv-gtk2 "$@"
diff --git a/debian/freeciv.install b/debian/freeciv.install
new file mode 100644
index 0000000..cf7b6e0
--- /dev/null
+++ b/debian/freeciv.install
@@ -0,0 +1 @@
+debian/bin/freeciv usr/games
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/freeciv.git
    
    
More information about the Pkg-games-commits
mailing list