cookutils diff cook @ rev 582
cooker.cgi: download files only
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jan 18 16:23:56 2013 +0000 (2013-01-18) |
parents | ad9af7bfcc78 |
children | 0cd1e2c82dc7 |
line diff
1.1 --- a/cook Tue Oct 16 15:02:10 2012 +0000 1.2 +++ b/cook Fri Jan 18 16:23:56 2013 +0000 1.3 @@ -215,6 +215,7 @@ 1.4 fi 1.5 create_tarball ;; 1.6 git*) 1.7 + [ -f $INSTALLED/git/receipt ] || tazpkg get-install git 1.8 url=${file#git|} 1.9 gettext -e "Getting source from Git...\n" 1.10 echo "URL: $url" 1.11 @@ -225,6 +226,7 @@ 1.12 fi 1.13 create_tarball ;; 1.14 bzr*|bazaar*) 1.15 + [ -f $INSTALLED/bazaar/receipt ] || tazpkg get-install bazaar 1.16 if $(echo "$file" | fgrep -q "bzr|"); then 1.17 url=${file#bzr|} 1.18 else 1.19 @@ -235,6 +237,7 @@ 1.20 bzr branch $url $pkgsrc 1.21 create_tarball ;; 1.22 cvs*) 1.23 + [ -f $INSTALLED/cvs/receipt ] || tazpkg get-install cvs 1.24 url=${file#cvs|} 1.25 mod=$PACKAGE 1.26 [ "$CVS_MODULE" ] && mod=$CVS_MODULE 1.27 @@ -245,6 +248,7 @@ 1.28 cvs -d:$url co $mod && mv $mod $pkgsrc 1.29 create_tarball ;; 1.30 svn*|subversion*) 1.31 + [ -f $INSTALLED/subversion/receipt ] || tazpkg get-install subversion 1.32 if $(echo "$file" | fgrep -q "svn|"); then 1.33 url=${file#svn|} 1.34 else