From d29bd832745a24bca9b330c342b5a3492d231ad7 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 18 Dec 2008 13:41:18 +0000 Subject: minor fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@683 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/templatepkg | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'trunk/src/templatepkg') diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg index 3f0284a..8d98950 100755 --- a/trunk/src/templatepkg +++ b/trunk/src/templatepkg @@ -147,27 +147,6 @@ function usage { } -function check_svn_repo { - - # check a svn repository URL - # usage: set_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 - if echo $1 | grep -q -v -e "^file://"; then - echo $BASENAME: invalid repository URL $1 - return 1 - fi - fi - fi - else - echo $BASENAME: no repository defined - return 1 - fi - -} - function import_export_templates { # import from or export to $TEMPLATE_FOLDER in a svn repository -- cgit v1.2.3