summarylogtreecommitdiffstats
path: root/hooks.install
diff options
context:
space:
mode:
authortsingkwai2022-01-30 14:28:16 +0800
committertsingkwai2022-01-30 14:28:16 +0800
commit74e87b5398be8b77bf213b57ff5270a7fa4b9aa0 (patch)
tree8695b3eb8e89f1dc3905279f90421fd1233c0585 /hooks.install
parent6392bdd4b7f5b3f8509f865476d3ed580a4b75b4 (diff)
downloadaur-74e87b5398be8b77bf213b57ff5270a7fa4b9aa0.tar.gz
Begonia@build2
Diffstat (limited to 'hooks.install')
-rw-r--r--hooks.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/hooks.install b/hooks.install
new file mode 100644
index 000000000000..9e37d48d0a9e
--- /dev/null
+++ b/hooks.install
@@ -0,0 +1,8 @@
+pre_remove() {
+/usr/bin/ctpkg ctpm p sys ctpkg
+}
+
+op=$1
+shift
+
+$op "$@"