.install lives with pkgbuild

This commit is contained in:
2026-05-08 19:12:36 -06:00
parent 2b76b0216a
commit cd7edf48fd
2 changed files with 1 additions and 18 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# Maintainer: Eric Phillips <eric@ewpt3ch.dev>
pkgname=pkgstash
pkgver=0.1.0
pkgver=0.1.1
pkgrel=1
pkgdesc='Sparse caching pacman server'
arch=(x86_64)
-17
View File
@@ -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
}