summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/samba-common.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian/samba-common.postinst')
-rw-r--r--packaging/Debian/debian/samba-common.postinst7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/Debian/debian/samba-common.postinst b/packaging/Debian/debian/samba-common.postinst
index 54b5679932e..261684d61fb 100644
--- a/packaging/Debian/debian/samba-common.postinst
+++ b/packaging/Debian/debian/samba-common.postinst
@@ -1,18 +1,19 @@
#!/bin/sh
#
+# $Id: samba-common.postinst,v 1.1.4.4 2002/10/15 21:36:46 jerry Exp $
#
set -e
+# Do debconf stuff here
+. /usr/share/debconf/confmodule
+
# We need a default smb.conf file. If one doesn't exist we put in place
# one that has some basic defaults.
if [ ! -e /etc/samba/smb.conf ]; then
cp -a /usr/share/samba/smb.conf /etc/samba/
fi
-# Do debconf stuff here
-. /usr/share/debconf/confmodule
-
# ------------------------- Debconf questions start ---------------------
# Is the user configuring with debconf, or he/she prefers swat/manual