aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/templatepkg
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-17 19:47:59 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-17 19:47:59 +0000
commit16db13c00959aa09586f54701a55f49ee92de190 (patch)
tree96deb63fc073b169a3e2e2866d35ebb4f69d7392 /trunk/src/templatepkg
parent2d568d081478cb2e4507055d0345778363a5861f (diff)
downloadsimplepkg-16db13c00959aa09586f54701a55f49ee92de190.tar.gz
simplepkg-16db13c00959aa09586f54701a55f49ee92de190.tar.bz2
templatepkg now can automatically creates the svn repository
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@754 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src/templatepkg')
-rwxr-xr-xtrunk/src/templatepkg2
1 files changed, 2 insertions, 0 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index 8d98950..0eee075 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -153,6 +153,7 @@ function import_export_templates {
# usage: template_export <import|export> <repository>
local templates templates_folder basedir repository mode preposition
+ local repository_type repository_path
if [ "$?" != 0 ]; then
usage
@@ -179,6 +180,7 @@ function import_export_templates {
if [ "$mode" == "export" ]; then
preposition="to"
+ check_and_create_svn_repo $repository
echo Exporting templates to $repository...
svn import $templates/ $repository/ -m "initial import"
if [ "$?" != "0" ]; then