summarylogtreecommitdiffstats
path: root/github-actions-bin.install
diff options
context:
space:
mode:
authorJingbei Li2023-08-23 15:30:56 +0800
committerJingbei Li2023-08-23 15:30:56 +0800
commit13171c85594cd36fee2e0415eaa356e5ea99e2b0 (patch)
treee6558ab9e8ac61c3550515466e8e105b3b05e39e /github-actions-bin.install
parent25df19bd640fc0ab92c437608573004578691c75 (diff)
downloadaur-13171c85594cd36fee2e0415eaa356e5ea99e2b0.tar.gz
added github-actions-bin.install
Diffstat (limited to 'github-actions-bin.install')
-rwxr-xr-xgithub-actions-bin.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/github-actions-bin.install b/github-actions-bin.install
new file mode 100755
index 000000000000..7b6b029bf254
--- /dev/null
+++ b/github-actions-bin.install
@@ -0,0 +1,12 @@
+pre_remove() {
+ if systemctl -q is-enabled $_pkgname.service; then
+ systemctl disable $_pkgname.service
+ fi
+}
+
+post_remove() {
+ echo
+ echo "Remove $_pkgname user and this HOME /var/lib/$_pkgname manually, if not needed anymore."
+ echo
+}
+