summaryrefslogtreecommitdiffstats
path: root/net/samba4/INSTALL
diff options
context:
space:
mode:
authorEric Sandall2021-07-19 12:55:39 -0700
committerEric Sandall2021-07-19 12:56:02 -0700
commit28cb12f0c4a7c246afd8853fb2ab6b6bd88d3c99 (patch)
tree34fd288963ff7c977b35587039db6096f1b4db44 /net/samba4/INSTALL
parentf54ddde9819eacc6aa9dfd4ceac50d7ab01965c9 (diff)
samba4: Don't continue later steps if earlier steps failed
Diffstat (limited to 'net/samba4/INSTALL')
-rwxr-xr-xnet/samba4/INSTALL4
1 files changed, 2 insertions, 2 deletions
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