From 1e365aeb09ccad345aecc38fd7e5306ab1ef6f71 Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 16 Jan 2009 17:42:22 +0000 Subject: another minor fix at createpkg --import git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@752 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/createpkg | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'trunk/src/createpkg') diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 90fda8e..52116d9 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -358,6 +358,10 @@ function repository_import { return $EXIT_CODE fi + if ! echo $repository | grep -q ":"; then + repository="file://$repository" + fi + repository_type="`echo $repository | cut -d : -f 1`" repository_path="`echo $repository | cut -d : -f 2`" -- cgit v1.2.3