]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
templatepkg: cosmetic changes
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 20:31:26 +0000 (20:31 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Thu, 5 Apr 2007 20:31:26 +0000 (20:31 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@258 04377dda-e619-0410-9926-eae83683ac58

trunk/src/templatepkg

index 068061220c402d23bc7eb71e81e1a13a584665a6..e4f3f2d42cd0036a8945b5bf0359012df14082bd 100755 (executable)
@@ -474,14 +474,14 @@ function template_list {
 
   ls="`ls $BASE_CONF/defaults/templates/$1 2> /dev/null`"
   if [ "$?" == "0" ]; then
-    echo Default templates:
-    echo "$ls"
+    ls="`echo $ls | xargs`"
+    echo "Default templates: $ls"
   fi
 
   ls="`ls $BASE_CONF/templates/$1 2> /dev/null`"
   if [ "$?" == "0" ]; then
-    echo Custom templates:
-    echo "$ls"
+    ls="`echo $ls | xargs`"
+    echo "Custom templates: $ls"
   fi
 
 }