Исправлен скрипт-обёртка для синхронизации layman`ом

master-3.5 3.5.1.5
ebeveyn 4deee242ee
işleme e3b204f335

@ -1,7 +1,7 @@
#!/bin/bash
# если выполняется обновление уже полученного репозитория
if [[ $1 == "pull" ]]
if [[ $1 == "pull" ]] || [[ $1 == "remote" ]]
then
# получить название репозитория
if [[ -f profiles/repo_name ]]
@ -20,8 +20,11 @@ native_reps=,$(/usr/libexec/calculate/cl-variable --value update.cl_update_rep_
# если обновляемый репозиторий от дистрибутива
if echo $native_reps | grep -q ,${repo_name},
then
# отбновить репозиторий через утилиты Calculate
/usr/sbin/cl-core --method update --rep $repo_name --sync-only on --skip-eix-update -T none
if [[ $1 == "pull" ]]
then
# отбновить репозиторий через утилиты Calculate
/usr/sbin/cl-core --method update --rep $repo_name --sync-only on --skip-eix-update -T none
fi
else
# выполнить обновление через git
/usr/bin/git $*

Yükleniyor…
İptal
Kaydet