aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-05 21:10:42 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2007-04-05 21:10:42 +0000
commitcde348ccfd25b4af23ee44b6fd808355d52f7ded (patch)
tree84d31eca399614a612031806bc6a42dd010ac352 /trunk
parent1f595ed2da8df5d4b09b9305b1a8099d1f194af2 (diff)
downloadsimplepkg-cde348ccfd25b4af23ee44b6fd808355d52f7ded.tar.gz
simplepkg-cde348ccfd25b4af23ee44b6fd808355d52f7ded.tar.bz2
templatepkg: small fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@262 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rwxr-xr-xtrunk/src/templatepkg10
1 files changed, 7 insertions, 3 deletions
diff --git a/trunk/src/templatepkg b/trunk/src/templatepkg
index 3d2287b..aaa3eff 100755
--- a/trunk/src/templatepkg
+++ b/trunk/src/templatepkg
@@ -195,11 +195,15 @@ function template_create {
if ! svn_check $TEMPLATE_BASE.d; then
svn mkdir $TEMPLATE_BASE.d
info_commit="yes"
+ else
+ mkdir $TEMPLATE_BASE.d
fi
if ! svn_check $TEMPLATE_BASE.s; then
- svn mkdir $TEMPLATE.s
+ svn mkdir $TEMPLATE_BASE.s
info_commit="yes"
+ else
+ mkdir $TEMPLATE_BASE.d
fi
if ! svn_check $TEMPLATE_BASE.template; then
@@ -274,11 +278,11 @@ function template_update {
if [ -f $TEMPLATE ]; then
if ! `grep -v -e "^#" $TEMPLATE | cut -d : -f 1 | awk '{ print $1 }' | grep -q -e "^$pack\$"`; then
echo $pack >> $TEMPLATE
- echo Added $pack on $TEMPLATE
+ echo Added $pack # on $TEMPLATE
fi
else
echo $pack >> $TEMPLATE
- echo Added $pack on $TEMPLATE
+ echo Added $pack # on $TEMPLATE
fi
done