parent
b51435c903
commit
c34f4c3495
@ -1,14 +1,23 @@
|
|||||||
|
|
||||||
## arg 1: the new package version
|
## arg 1: the new package version
|
||||||
post_install() {
|
post_install() {
|
||||||
ldconfig
|
ldconfig
|
||||||
|
if [ -r /etc/qubes-release ]; then
|
||||||
|
# dom0
|
||||||
|
/bin/systemctl enable qubes-meminfo-writer-dom0.service > /dev/null 2>&1
|
||||||
|
else
|
||||||
|
# VM
|
||||||
|
/bin/systemctl enable qubes-meminfo-writer.service > /dev/null 2>&1
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
ldconfig
|
ldconfig
|
||||||
}
|
}
|
||||||
|
|
||||||
post_remove() {
|
post_remove() {
|
||||||
ldconfig
|
ldconfig
|
||||||
|
/bin/systemctl disable qubes-meminfo-writer.service > /dev/null 2>&1
|
||||||
|
/bin/systemctl disable qubes-meminfo-writer.service > /dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in new issue