[game-data-packager] 02/06: ecwolf_common: fix installation of icon

Simon McVittie smcv at debian.org
Wed Jul 15 08:10:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository game-data-packager.

commit 120bd4b0286599ae73daeee9c26ec880c6c6927e
Author: Simon McVittie <smcv at perpetual.pseudorandom.co.uk>
Date:   Wed Jul 15 08:24:42 2015 +0100

    ecwolf_common: fix installation of icon
---
 debian/changelog                          | 1 +
 game_data_packager/games/ecwolf_common.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b94ca8c..7465701 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -66,6 +66,7 @@ game-data-packager (42) UNRELEASED; urgency=medium
   * chex.svg: make the icon square
   * blakestone: re-word help
   * Make out/game-data-packager executable
+  * ecwolf_common: fix installation of icon
 
  -- Simon McVittie <smcv at debian.org>  Sun, 03 May 2015 14:34:00 +0200
 
diff --git a/game_data_packager/games/ecwolf_common.py b/game_data_packager/games/ecwolf_common.py
index c44c88b..f32959b 100644
--- a/game_data_packager/games/ecwolf_common.py
+++ b/game_data_packager/games/ecwolf_common.py
@@ -74,7 +74,7 @@ class EcwolfGameData(GameData):
         if os.path.exists(from_):
             svgdir = os.path.join(destdir, 'usr/share/icons/hicolor/scalable/apps')
             mkdir_p(svgdir)
-            install_data(from_, os.path.join(svgdir, '%s.svgz' % icon))
+            install_data(from_, os.path.join(svgdir, '%s.svgz' % package.name))
 
         desktop = configparser.RawConfigParser()
         desktop.optionxform = lambda option: option

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list