diff options
Diffstat (limited to 'trunk/lib/common.sh')
-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 |