Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools/.git;a=commitdiff;h=4b7d04f4d3b62e8d486785164c6db8d30b33976e
commit 4b7d04f4d3b62e8d486785164c6db8d30b33976e Author: VMiklos <[EMAIL PROTECTED]> Date: Tue Jul 17 09:59:31 2007 +0200 portpkg: new --silentpush parameter diff --git a/portpkg b/portpkg index fb4f78b..b3f44ab 100755 --- a/portpkg +++ b/portpkg @@ -25,9 +25,14 @@ if ! ls *fpm &>/dev/null; then sudo makepkg -cuk || die "build failed" fi -if [ "$1" == "--push" ]; then +if [ "$1" == "--push" -o "$1" == "--silentpush" ]; then repoman rec "added `uname -m` to archs()" || die "failed to record the patch" - repoman -k push + if [ "$1" == "--push" ]; then + repoman -k push + else + git pull + git push + fi else die "now run '$0 --push' to record and push your changes" fi _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
