Переименован параметр

master3.3
Mike Khiretskiy 10 years ago
parent 33b3c7dbc0
commit 76bb34a22a

@ -22,7 +22,7 @@ native_reps=,$(/usr/sbin/cl-core --method core_variables_show \
if echo $native_reps | grep -q ,${repo_name}, if echo $native_reps | grep -q ,${repo_name},
then then
# отбновить репозиторий через утилиты Calculate # отбновить репозиторий через утилиты Calculate
/usr/sbin/cl-core --method update $repo_name --sync on --skip-update-metadata --skip-eix-update --update-rev=off /usr/sbin/cl-core --method update --rep $repo_name --sync-only on --skip-update-metadata --skip-eix-update --update-rev=off
else else
# выполнить обновление через git # выполнить обновление через git
/usr/bin/git $* /usr/bin/git $*

@ -229,7 +229,7 @@ class VariableClUpdateSyncRep(Variable):
""" """
type = "choice-list" type = "choice-list"
element = "selecttable" element = "selecttable"
opt = ["cl_update_sync_rep"] opt = ["-r", "--rep"]
metavalue = "REPOSITORIES" metavalue = "REPOSITORIES"
untrusted = True untrusted = True
@ -399,7 +399,7 @@ class VariableClUpdateSyncOnlySet(Variable):
""" """
type = "bool" type = "bool"
value = "off" value = "off"
opt = ["-s", "--sync"] opt = ["-s", "--sync-only"]
def init(self): def init(self):
self.label = _("Only synchronize repositories") self.label = _("Only synchronize repositories")

Loading…
Cancel
Save