Author: coolo Date: Mon Apr 7 10:26:27 2008 New Revision: 46164 URL: http://svn.opensuse.org/viewcvs/yast?rev=46164&view=rev Log: call update_rpm only after doing the standard stuff Modified: branches/tmp/coolo/update_yast_repo/update_repo.sh Modified: branches/tmp/coolo/update_yast_repo/update_repo.sh URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/coolo/update_yast_repo/update_repo.sh?rev=46164&r1=46163&r2=46164&view=diff ============================================================================== --- branches/tmp/coolo/update_yast_repo/update_repo.sh (original) +++ branches/tmp/coolo/update_yast_repo/update_repo.sh Mon Apr 7 10:26:27 2008 @@ -36,23 +36,21 @@ osc co $PRJ $pack cd $PRJ/$pack - shell=`mktemp` - svn cat $url/package/update_rpm > $shell || true - if test -s "$shell"; then - sh $shell + rm -f *.tar.bz2 + svn export -q $url + cd `basename $url` + if test -s package/update_rpm; then + bash package/update_rpm else - # fallback - rm -f *.tar.bz2 - svn export -q $url - cd `basename $url` if test -f CMakeLists.txt; then bash $homedir/update_rpm_cmake else bash $homedir/update_rpm_auto fi - cd .. - rm -r `basename $url` fi + cd .. + rm -r `basename $url` + osc addremove osc ci cd ../.. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org