[game-data-packager] 01/01: scummvm: don't generate .desktop file for media packs
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Fri May 1 13:35:51 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 74d34092d817ec289127a9162a69a8705e91de22
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Fri May 1 15:34:50 2015 +0200
scummvm: don't generate .desktop file for media packs
---
game_data_packager/games/residualvm_common.py | 2 ++
game_data_packager/games/scummvm_common.py | 2 ++
2 files changed, 4 insertions(+)
diff --git a/game_data_packager/games/residualvm_common.py b/game_data_packager/games/residualvm_common.py
index e995a09..ec4c6b5 100644
--- a/game_data_packager/games/residualvm_common.py
+++ b/game_data_packager/games/residualvm_common.py
@@ -41,6 +41,8 @@ class ResidualvmGameData(GameData):
def fill_extra_files(self, package, destdir):
super(ResidualvmGameData, self).fill_extra_files(package, destdir)
+ if package.type == 'expansion':
+ return
with TemporaryUmask(0o022):
appdir = os.path.join(destdir, 'usr/share/applications')
diff --git a/game_data_packager/games/scummvm_common.py b/game_data_packager/games/scummvm_common.py
index dee2bb2..b05aca5 100644
--- a/game_data_packager/games/scummvm_common.py
+++ b/game_data_packager/games/scummvm_common.py
@@ -44,6 +44,8 @@ class ScummvmGameData(GameData):
def fill_extra_files(self, package, destdir):
super(ScummvmGameData, self).fill_extra_files(package, destdir)
+ if package.type == 'expansion':
+ return
with TemporaryUmask(0o022):
appdir = os.path.join(destdir, 'usr/share/applications')
--
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