[debian-edu-commits] debian-edu/ 01/06: Add classes 'squidcache' and 'di' to cf3/edu.cf, useful 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 a70a96461a5face7164226bbc75e02a8ec3f5eae
Author: Wolfgang Schweer <wschweer at arcor.de>
Date: Mon Jan 15 15:41:20 2018 +0100
Add classes 'squidcache' and 'di' to cf3/edu.cf, useful for upgrades.
---
cf3/edu.cf | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cf3/edu.cf b/cf3/edu.cf
index aa1c8fe..652a7a9 100644
--- a/cf3/edu.cf
+++ b/cf3/edu.cf
@@ -29,5 +29,9 @@ bundle common edu
"internet" expression => returnszero("/usr/bin/wget -qO /dev/null http://deb.debian.org/debian/README","noshell");
# Set if atomic partioning has been used (everything on one partion, w/ or w/o lvm).
"atomic" expression => returnszero("/usr/bin/namei -mol /skole | /bin/grep T", "useshell");
+ # Set if the Squid cache exists; used to avoid superfluously running 'dpkg-reconfigure squid'.
+ "squidcache" expression => fileexists("/var/spool/squid/00/00");
+ # Set if running inside Debian Installer; used to avoid useless LDAP setup upon main server upgrade.
+ "di" expression => fileexists("/etc/apt/apt.conf.d/00IgnoreTimeConflict");
}
--
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