From 62e1ecdd0817c98bf349a9143ab98b3c8bdfaee1 Mon Sep 17 00:00:00 2001 From: Dominique Roux Date: Tue, 19 May 2015 08:18:33 +0200 Subject: [PATCH] changed if statement: from if [ != ]; to if [ ]; --- cdist/conf/type/__pacman_conf/manifest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/conf/type/__pacman_conf/manifest b/cdist/conf/type/__pacman_conf/manifest index 726074d4..19e232a7 100644 --- a/cdist/conf/type/__pacman_conf/manifest +++ b/cdist/conf/type/__pacman_conf/manifest @@ -54,7 +54,7 @@ contains_element() { MATCH=0 } -if [ "${file}" != "" ]; then +if [ "${file}" ]; then __file "${sec_path}/plain_file_${file}"\ --state exists --mode 666