Fix: add install hook
All checks were successful
Build package / build-package (push) Successful in 8s

This commit is contained in:
2025-07-28 23:53:24 +08:00
parent 903da96904
commit 8f9aa522c7
3 changed files with 4 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ Type = Path
Operation = Install
Operation = Upgrade
Target = etc/resolv.conf
Target = etc/localtime
[Action]
Description = Override configuration files...

View File

@@ -1,7 +1,7 @@
# Maintainer: Yi-Ting Shih <ytshih@konchin.com>
pkgname=hl-base-env
pkgver=1.0.3
pkgrel=1
pkgrel=2
pkgdesc="Base environment for konchin.com homelab"
arch=(any)
url="https://gitea.konchin.com/package/hl-base-env"
@@ -34,7 +34,7 @@ package() {
install -Dm644 timesyncd.conf "$pkgdir/etc/systemd/timesyncd.conf.d/$pkgname.conf"
}
sha256sums=('164d84a6db866f8445d8cd2b92a6513de4b8fd0204e4d127432416f13032890b'
'453cbec2e5fa38ac9ef618d3254ba4f5fc8aacdc8bb1f17dad00f6089680d580'
'60f8e5f6420163be4489c15f4c1e936b5b728005f18fd5e7fa4f711789fd990b'
'9d3f3962e7088ed30962d171536d81e042169ee5c3c46e3f7995eb53b27e71f5'
'8df871b1727d147ecc410de3aa6cf24e5bf046f1bfb4b600b60c40acd6c4fa9a'
'1bcae0144eb86eae3948eae7299c99f0b1fc53d0f47884da6dfcaddab503a382'

View File

@@ -5,6 +5,7 @@ _package_changed() {
}
post_install() {
/usr/lib/hl-base-env/install.sh
_package_changed
}