Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=6ce0f31af7cd7ddec4b849c0f7d439d62b372eef

commit 6ce0f31af7cd7ddec4b849c0f7d439d62b372eef
Author: Miklos Vajna <[email protected]>
Date:   Wed Jan 14 18:21:44 2009 +0100

portpkg: cache sources from rsync mirror if possible

diff --git a/portpkg b/portpkg
index a8a1402..07a56ad 100755
--- a/portpkg
+++ b/portpkg
@@ -25,6 +25,8 @@ if ! echo ${arc...@]} |grep -q `uname -m`; then
fi

if ! ls *fpm &>/dev/null; then
+       makepkg -dgu || die "failed to download sources"
+       rm -rf src || die "failed to remove duplicated sources"
sudo makepkg -cuk || die "build failed"
fi
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to