[game-data-packager] 02/03: use apt 1.1 experimental pre-releases
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Wed Oct 7 17:26:31 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 01e5282f01d18e59b0570120b5006af59bfdb8d9
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Wed Oct 7 19:22:54 2015 +0200
use apt 1.1 experimental pre-releases
---
game_data_packager/util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/game_data_packager/util.py b/game_data_packager/util.py
index a6e4297..ff0e1be 100644
--- a/game_data_packager/util.py
+++ b/game_data_packager/util.py
@@ -204,7 +204,7 @@ def install_packages(debs, method, gain_root='su'):
if not method:
apt_ver = subprocess.check_output(['dpkg-query', '--show',
'--showformat', '${Version}', 'apt'], universal_newlines=True)
- if Version(apt_ver.strip()) >= Version('1.1'):
+ if Version(apt_ver.strip()) >= Version('1.1~0'):
method = 'apt'
else:
method = 'dpkg'
--
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