[debian-edu-commits] debian-edu/ 04/06: Add cfengine3 setup code to debian-edu-config.postinstall (mostly for upgrades).
    Wolfgang Schweer 
    schweer-guest at moszumanska.debian.org
       
    Mon Jan 15 15:31:11 UTC 2018
    
    
  
This is an automated email from the git hooks/post-receive script.
schweer-guest pushed a commit to branch master
in repository debian-edu-config.
commit 16b8e8b8dea3447c2d151ab4355fb77231d14971
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Mon Jan 15 15:47:25 2018 +0100
    Add cfengine3 setup code to debian-edu-config.postinstall (mostly for upgrades).
---
 debian/debian-edu-config.postinst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/debian-edu-config.postinst b/debian/debian-edu-config.postinst
index 7ba594b..3ad035a 100644
--- a/debian/debian-edu-config.postinst
+++ b/debian/debian-edu-config.postinst
@@ -203,7 +203,9 @@ configure)
     chmod 750 /var/lib/dovecot
     chown root:root /var/lib/dovecot
     touch /var/lib/dovecot/auth_success
-
+    if [ ! -d /var/lib/cfengine3/inputs/debian-edu ] ; then
+        . /usr/share/debian-edu-config/tools/setup-cfengine3
+    fi
     ;;
 esac
 
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git
    
    
More information about the debian-edu-commits
mailing list