fix an annoying syncfirst bug

This commit is contained in:
guinux 2013-10-20 12:19:36 +02:00
parent 7c62f77218
commit 99790a3efc
3 changed files with 4 additions and 4 deletions

View File

@ -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')

View File

@ -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()

View File

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