Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools/.git;a=commitdiff;h=62715e761e866e93832b3a51d265d111a19b6297
commit 62715e761e866e93832b3a51d265d111a19b6297 Author: VMiklos <[EMAIL PROTECTED]> Date: Tue Jul 24 23:43:01 2007 +0200 repoman: help upgraders closes #2275 diff --git a/repoman b/repoman index f43378f..d75338b 100755 --- a/repoman +++ b/repoman @@ -462,9 +462,13 @@ update() for j in [EMAIL PROTECTED] do echo "warning: this operation can take minutes, please be patient" + # support upgraders + if [ -d $fst_root/$i -a ! -d $fst_root/$i/.git ]; then + rm -rf $fst_root/$i + fi # check for scm if rsync -q $j/.git 2>/dev/null; then - if [ -d $fst_root/$i ]; then + if [ -d $fst_root/$i/.git ]; then cmd="cd $i && git pull" else cmd="git clone $j/.git $i" _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
