[Pkg-samba-maint] [Git][samba-team/samba][master] Ensure /var/lib/samba/dhcp.conf exists (Closes: #901585)
Mathieu Parent
gitlab at salsa.debian.org
Sun Jun 17 21:48:06 BST 2018
Mathieu Parent pushed to branch master at Debian Samba Team / samba
Commits:
c21371bb by Mathieu Parent at 2018-06-17T22:43:47+02:00
Ensure /var/lib/samba/dhcp.conf exists (Closes: #901585)
- - - - -
1 changed file:
- debian/samba-common.postinst
Changes:
=====================================
debian/samba-common.postinst
=====================================
--- a/debian/samba-common.postinst
+++ b/debian/samba-common.postinst
@@ -52,6 +52,8 @@ configure_smb_conf() {
# If we receive WINS server info from DHCP, override the options above. \\
include = /var/lib/samba/dhcp.conf
}" "$CONFIG"
+ # Ensure the file exists
+ touch /var/lib/samba/dhcp.conf
elif [ "$RET" != true ]; then
sed -i -e '
/^#[[:space:]]*If we receive WINS server info from DHCP, override the options above/d
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/c21371bbbef437cdad987316404ddd08d195f032
--
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/c21371bbbef437cdad987316404ddd08d195f032
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20180617/6edd5d47/attachment.html>
More information about the Pkg-samba-maint
mailing list