mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 10:37:14 +08:00
16 lines
181 B
Plaintext
16 lines
181 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
post_upgrade() {
|
||
|
if systemctl -q is-active systemd-udevd; then
|
||
|
udevadm control --reload-rules
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
post_install() {
|
||
|
post_upgrade
|
||
|
}
|
||
|
|
||
|
post_remove() {
|
||
|
post_upgrade
|
||
|
}
|