Feat: add systemd preset
All checks were successful
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 16 additions and 5 deletions

View File

@@ -1,9 +1,15 @@
post_install() {
_changed() {
echo 'Executing install.sh...'
bash "$pkgdir/usr/lib/hl-ldap-env/install.sh"
}
post_upgrade() {
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() {
_changed
}