post_install() {
systemctl preset usr-share-kicad-3dmodels.mount
[ -d /run/systemd/system ] && systemctl start usr-share-kicad-3dmodels.mount || true
}
pre_upgrade() {
[ -d /run/systemd/system ] && systemctl stop usr-share-kicad-3dmodels.mount || true
}
post_upgrade() {
[ -d /run/systemd/system ] && systemctl daemon-reload || true
[ -d /run/systemd/system ] && systemctl start usr-share-kicad-3dmodels.mount || true
}
pre_remove() {
[ -d /run/systemd/system ] && systemctl stop usr-share-kicad-3dmodels.mount || true
systemctl disable usr-share-kicad-3dmodels.mount
}