diff --git a/tbootstrap.sh b/tbootstrap.sh index 1aecaca..36d0487 100755 --- a/tbootstrap.sh +++ b/tbootstrap.sh @@ -17,8 +17,12 @@ function install() function fetch() { for pkgname in $filelist; do + if [ -d $pkgname ]; then + git -C $pkgname pull + else mkdir $pkgname git clone git@gitlab.tlnx.ru:rpms/$pkgname.git $pkgname + fi done }