summarylogtreecommitdiffstats
path: root/hook.remove
diff options
context:
space:
mode:
Diffstat (limited to 'hook.remove')
-rw-r--r--hook.remove15
1 files changed, 15 insertions, 0 deletions
diff --git a/hook.remove b/hook.remove
new file mode 100644
index 000000000000..23744702c27a
--- /dev/null
+++ b/hook.remove
@@ -0,0 +1,15 @@
+[Trigger]
+Operation = Upgrade
+Operation = Remove
+Type = File
+Target = var/lib/connman-vpn/*
+Target = etc/Networkmanager/system-connections/*
+Target = etc/openvpn/*
+
+[Action]
+Description = Removing VPN configuations...
+Depends = private-internet-access-vpn
+When = PreTransaction
+Exec = /usr/bin/pia -r
+NeedsTargets
+