[game-data-packager] 17/25: make_template: repack from /opt/

Simon McVittie smcv at debian.org
Wed Feb 11 10:41:13 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 8a16007e278d4aff55eeab1cf233e4a422dfd69b
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Tue Feb 10 09:34:50 2015 +0100

    make_template: repack from /opt/
---
 game_data_packager/make_template.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py
index 67fb679..2930807 100644
--- a/game_data_packager/make_template.py
+++ b/game_data_packager/make_template.py
@@ -126,7 +126,7 @@ def do_one_dir(destdir,lower):
     print('---')
     if longname:
         print('longname: %s\n' % longname)
-    if destdir.startswith('/usr/local'):
+    if destdir.startswith('/usr/local') or destdir.startswith('/opt/'):
         print('try_repack_from:\n- %s\n' % destdir)
     yaml.safe_dump(data, stream=sys.stdout, default_flow_style=False)
 

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