Browse Source

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

tags/3.2.0
Mike Khiretskiy 7 years ago
parent
commit
76bb34a22a
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      data/cl-git-wrapper
  2. +2
    -2
      update/variables/update.py

+ 1
- 1
data/cl-git-wrapper View File

@@ -22,7 +22,7 @@ native_reps=,$(/usr/sbin/cl-core --method core_variables_show \
if echo $native_reps | grep -q ,${repo_name},
then
# отбновить репозиторий через утилиты 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
# выполнить обновление через git
/usr/bin/git $*


+ 2
- 2
update/variables/update.py View File

@@ -229,7 +229,7 @@ class VariableClUpdateSyncRep(Variable):
"""
type = "choice-list"
element = "selecttable"
opt = ["cl_update_sync_rep"]
opt = ["-r", "--rep"]
metavalue = "REPOSITORIES"
untrusted = True

@@ -399,7 +399,7 @@ class VariableClUpdateSyncOnlySet(Variable):
"""
type = "bool"
value = "off"
opt = ["-s", "--sync"]
opt = ["-s", "--sync-only"]

def init(self):
self.label = _("Only synchronize repositories")


Loading…
Cancel
Save