From f9873dd16c8ec7b3540db7813c34bcaaea98877e Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Tue, 12 Nov 2024 16:59:53 -0800 Subject: [PATCH] base: install pfrule.sh --- provision/base.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/provision/base.sh b/provision/base.sh index d2753074..ef4559f4 100755 --- a/provision/base.sh +++ b/provision/base.sh @@ -180,9 +180,7 @@ EO_MAKE_CONF configure_fstab() { local _sub_dir=${1:-""} local _etc_path="$BASE_MNT/${_sub_dir}etc" - if [ ! -d "$_etc_path" ]; then - mkdir -p "$_etc_path" - fi + if [ ! -d "$_etc_path" ]; then mkdir -p "$_etc_path"; fi tee "$_etc_path/fstab" <