forked from cromer/pamac-classic
fix an annoying syncfirst bug
This commit is contained in:
parent
7c62f77218
commit
99790a3efc
@ -194,5 +194,5 @@ if 'HoldPkg' in pacman_conf.options:
|
|||||||
holdpkg = pacman_conf.options['HoldPkg']
|
holdpkg = pacman_conf.options['HoldPkg']
|
||||||
if 'SyncFirst' in pacman_conf.options:
|
if 'SyncFirst' in pacman_conf.options:
|
||||||
syncfirst = pacman_conf.options['SyncFirst']
|
syncfirst = pacman_conf.options['SyncFirst']
|
||||||
if not 'pamac' in syncfirst:
|
#if not 'pamac' in syncfirst:
|
||||||
syncfirst.append('pamac')
|
# syncfirst.append('pamac')
|
||||||
|
@ -401,7 +401,7 @@ def sysupgrade(show_updates):
|
|||||||
if do_syncfirst:
|
if do_syncfirst:
|
||||||
error += init_transaction()
|
error += init_transaction()
|
||||||
if not error:
|
if not error:
|
||||||
for name in to_add:
|
for name in to_update:
|
||||||
error += Add(name)
|
error += Add(name)
|
||||||
else:
|
else:
|
||||||
error += init_transaction()
|
error += init_transaction()
|
||||||
|
2
pot_head
2
pot_head
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: pamac\n"
|
"Project-Id-Version: pamac 0.9\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2013-03-30 15:09+0100\n"
|
"POT-Creation-Date: 2013-03-30 15:09+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user