summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorGilrain2015-06-09 16:33:21 +0200
committerGilrain2015-06-09 16:33:21 +0200
commitf12e9e8c5a59d2ca68f16e9094520814869bd82e (patch)
tree9884d27cb6711c4dcc2420462d07da290614400f /install
downloadaur-f12e9e8c5a59d2ca68f16e9094520814869bd82e.tar.gz
Initial import
Diffstat (limited to 'install')
-rw-r--r--install11
1 files changed, 11 insertions, 0 deletions
diff --git a/install b/install
new file mode 100644
index 000000000000..e20b93d0a3a1
--- /dev/null
+++ b/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