Feat: add systemd preset
Build package / build-package (push) Successful in 10s

This commit is contained in:
2025-07-29 03:06:00 +08:00
parent 7061a3a392
commit a79b0d4261
3 changed files with 15 additions and 4 deletions
+9 -3
View File
@@ -1,9 +1,15 @@
post_install() {
_changed() {
echo 'Executing install.sh...'
bash "$pkgdir/usr/lib/hl-ldap-env/install.sh"
}
post_install() {
_changed
systemctl preset sssd.service
systemctl preset net-mount.service
}
post_upgrade() {
echo 'Executing install.sh...'
bash "$pkgdir/usr/lib/hl-ldap-env/install.sh"
_changed
}