summaryrefslogtreecommitdiff
path: root/pcr/pgl/install
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2015-08-07 22:17:33 -0400
committerGaming4JC <g4jc@openmailbox.org>2015-08-07 22:17:33 -0400
commita26063dd2267fa411d75489f5578d0b5fbd9a55b (patch)
treec5f9e396438cdb4fbb74711c426e634c21b2d6ab /pcr/pgl/install
parent219356161b5cb0b93f36cb4b1b7e9ad59662efb3 (diff)
more pgl files
Diffstat (limited to 'pcr/pgl/install')
-rw-r--r--pcr/pgl/install11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/pgl/install b/pcr/pgl/install
new file mode 100644
index 000000000..e20b93d0a
--- /dev/null
+++ b/pcr/pgl/install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ if [ $(vercmp $2 2.2.4-2) -lt 0 ]; then
+ echo "# Please reenable pgl.service to activate timer."
+ echo "# Then reboot or start pgl-update.timer manually."
+ fi
+}
+
+post_remove() {
+ # Deletes logs, spool and consolidated blocklists
+ rm -rf /var/{log,lib,spool}/pgl/
+} \ No newline at end of file