[game-data-packager] 01/02: scummvm: use more distinctive name for icons

Alexandre Detiste detiste-guest at moszumanska.debian.org
Tue Jun 30 09:15:00 UTC 2015


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

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

commit af65e09e69d16dfca74be6442b37e84d92c467ee
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Mon Jun 29 23:38:24 2015 +0200

    scummvm: use more distinctive name for icons
    
    make soltys-* co-installable
---
 game_data_packager/games/scummvm_common.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/game_data_packager/games/scummvm_common.py b/game_data_packager/games/scummvm_common.py
index d800ac4..a496b8d 100644
--- a/game_data_packager/games/scummvm_common.py
+++ b/game_data_packager/games/scummvm_common.py
@@ -56,8 +56,9 @@ class ScummvmGameData(GameData):
         if package.type == 'expansion':
             return
 
-        for icon in (package.name, self.shortname):
-            from_ = os.path.join(DATADIR, icon + '.png')
+        icon = package.name
+        for basename in (package.name, self.shortname):
+            from_ = os.path.join(DATADIR, basename + '.png')
             if os.path.exists(from_):
                 pixdir = os.path.join(destdir, 'usr/share/pixmaps')
                 mkdir_p(pixdir)

-- 
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