]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
another minor fix at createpkg --import
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 16 Jan 2009 17:42:22 +0000 (17:42 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 16 Jan 2009 17:42:22 +0000 (17:42 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@752 04377dda-e619-0410-9926-eae83683ac58

trunk/doc/CHANGELOG
trunk/src/createpkg

index ca17efaacf20376c70247068cefd695f01eb4c81..4c5b141b2f6d3d485fa005619c684e9e8d60f4f3 100644 (file)
@@ -44,7 +44,7 @@ simplepkg changelog
       - config() on postinstall_script now accepting .dist and .sample config file extensions
       - added git_source section
     - createpkg:
-      - new options --status, --update and --commit to manage subversion repository
+      - new options --import, --status, --update and --commit to manage subversion repository
       - subversion integration
       - minor changes
       - renamed config parameter CREATE_ARCH to CREATEPKG_ARCH
index 90fda8e813b70dde63d3701cf5ce303350327d65..52116d971a11ee367115a438ea29a9d5f3db04d4 100644 (file)
@@ -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`"