From 99790a3efc6c9ec30ba447da8205033bb425f5e3 Mon Sep 17 00:00:00 2001 From: guinux Date: Sun, 20 Oct 2013 12:19:36 +0200 Subject: [PATCH] fix an annoying syncfirst bug --- pamac/config.py | 4 ++-- pamac/transaction.py | 2 +- pot_head | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pamac/config.py b/pamac/config.py index ae73074..5a842d6 100644 --- a/pamac/config.py +++ b/pamac/config.py @@ -194,5 +194,5 @@ if 'HoldPkg' in pacman_conf.options: holdpkg = pacman_conf.options['HoldPkg'] if 'SyncFirst' in pacman_conf.options: syncfirst = pacman_conf.options['SyncFirst'] -if not 'pamac' in syncfirst: - syncfirst.append('pamac') +#if not 'pamac' in syncfirst: +# syncfirst.append('pamac') diff --git a/pamac/transaction.py b/pamac/transaction.py index bceac57..652bea6 100644 --- a/pamac/transaction.py +++ b/pamac/transaction.py @@ -401,7 +401,7 @@ def sysupgrade(show_updates): if do_syncfirst: error += init_transaction() if not error: - for name in to_add: + for name in to_update: error += Add(name) else: error += init_transaction() diff --git a/pot_head b/pot_head index 46ee3f4..72e67cc 100644 --- a/pot_head +++ b/pot_head @@ -5,7 +5,7 @@ # msgid "" msgstr "" -"Project-Id-Version: pamac\n" +"Project-Id-Version: pamac 0.9\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-03-30 15:09+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"