From 28cb12f0c4a7c246afd8853fb2ab6b6bd88d3c99 Mon Sep 17 00:00:00 2001 From: Eric Sandall Date: Mon, 19 Jul 2021 12:55:39 -0700 Subject: samba4: Don't continue later steps if earlier steps failed --- net/samba4/INSTALL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/samba4/INSTALL') diff --git a/net/samba4/INSTALL b/net/samba4/INSTALL index 4b43221047..bc2b5090d2 100755 --- a/net/samba4/INSTALL +++ b/net/samba4/INSTALL @@ -10,7 +10,7 @@ mkdir -m 700 -p $INSTALL_ROOT/etc/samba/private && if [[ ! -f $INSTALL_ROOT/etc/samba/private/smbpasswd ]]; then touch $INSTALL_ROOT/etc/samba/private/smbpasswd && chmod 600 $INSTALL_ROOT/etc/samba/private/smbpasswd -fi +fi && # # Install libwinbind if it exists @@ -48,6 +48,6 @@ fi if [[ -h $INSTALL_ROOT/usr/include/samba ]]; then rm -f $INSTALL_ROOT/usr/include/samba -fi +fi && ln -sf /usr/include/samba-4.0/samba $INSTALL_ROOT/usr/include/samba -- cgit v1.2.3