diff --git a/post-install.sh b/post-install.sh index cbd3f72..a4dec4f 100644 --- a/post-install.sh +++ b/post-install.sh @@ -522,8 +522,7 @@ if ($capturech -eq 1) { localcapconfig $cifsserverinstalled = apt-cache policy samba-common-bin | grep 'none' - $cifsserverinstalled2 = apt-cache policy samba | grep 'none' - if ($cifsserverinstalled -ne $NULL -or $cifsserverinstalled2 -ne $NULL) { + if ($cifsserverinstalled -ne $NULL) { echo "samba-common samba-common/workgroup string WORKGROUP" | sudo debconf-set-selections echo "samba-common samba-common/dhcp boolean true" | sudo debconf-set-selections echo "samba-common samba-common/do_debconf boolean true" | sudo debconf-set-selections