From c1dc33f3db8ca32442676be7be7b5d88d3389cc6 Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 4 Apr 2007 02:32:04 +0000 Subject: templatepkg smal fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@217 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/templatepkg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 910086c..1495ae2 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -78,8 +78,10 @@ function check_svn_repo { if [ ! -z "$1" ]; then if echo $1 | grep -q -v -e "^svn://"; then if echo $1 | grep -q -v -e "^svn+ssh://"; then - echo $BASENAME: invalid repository URL $1 - return 1 + if echo $1 | grep -q -v -e "^file://"; then + echo $BASENAME: invalid repository URL $1 + return 1 + fi fi fi else -- cgit v1.2.3