From cd7edf48fd3488ee1d63670814d60417c4f30618 Mon Sep 17 00:00:00 2001 From: Eric Phillips Date: Fri, 8 May 2026 19:12:36 -0600 Subject: [PATCH] .install lives with pkgbuild --- PKGBUILD | 2 +- deploy/pkgstash.install | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 deploy/pkgstash.install diff --git a/PKGBUILD b/PKGBUILD index 44a9367..c93891f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Eric Phillips pkgname=pkgstash -pkgver=0.1.0 +pkgver=0.1.1 pkgrel=1 pkgdesc='Sparse caching pacman server' arch=(x86_64) diff --git a/deploy/pkgstash.install b/deploy/pkgstash.install deleted file mode 100644 index 865713c..0000000 --- a/deploy/pkgstash.install +++ /dev/null @@ -1,17 +0,0 @@ -post_install() { - chown root:pkgstash /etc/pkgstash/pkgstash.env -} - -post_upgrade() { - systemctl daemon-reload - if systemctl is-active --quiet pkgstash; then - systemctl restart pkgstash - fi -} - -pre_remove() { - systemctl disable pkgstash 2>/dev/null - systemctl stop pkgstash 2>/dev/null - systemctl disable pkgstash.timer 2>/dev/null - systemctl stop pkgstash.timer 2>/dev/null -}