From a26063dd2267fa411d75489f5578d0b5fbd9a55b Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Fri, 7 Aug 2015 22:17:33 -0400 Subject: more pgl files --- pcr/pgl/install | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pcr/pgl/install (limited to 'pcr/pgl/install') 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 -- cgit v1.2.3-54-g00ecf