diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 15:43:34 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-06 15:43:34 +0000 |
commit | 71b612263868dfab888f31086ba85c9bdb73674c (patch) | |
tree | e7bdf80ba72027ac7dcd2db0e096e7827a811ef6 /trunk/lib | |
parent | 9abb526d0c1b359084b028161b881bd894c53877 (diff) | |
download | simplepkg-71b612263868dfab888f31086ba85c9bdb73674c.tar.gz simplepkg-71b612263868dfab888f31086ba85c9bdb73674c.tar.bz2 |
lots of bugfixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@290 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/lib')
-rw-r--r-- | trunk/lib/common.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index af76cd1..e856890 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -321,13 +321,13 @@ function default_arch { function search_default_template { - if [ -f "$BASE_CONF/templates/default.template" ]; then + if [ -e "$BASE_CONF/templates/default.template" ]; then TEMPLATE_BASE="$BASE_CONF/templates/default" echo $BASENAME: using default template - elif [ -f "$BASE_CONF/default.template" ]; then + elif [ -e "$BASE_CONF/default.template" ]; then TEMPLATE_BASE="$BASE_CONF/default" echo $BASENAME using default template - elif [ -f "$BASE_CONF/defaults/templates/default/default.template" ]; then + elif [ -e "$BASE_CONF/defaults/templates/default/default.template" ]; then TEMPLATE_BASE="$BASE_CONF/defaults/templates/default" else echo $BASENAME: error: default template not found |