Fix update conflict
This commit is contained in:
1 parent
eef3ca0ba6
commit
938900a5e7
2 files changed
+6
-1
No files matched your search
@@ -24,6 +24,11 @@ post_install() {
|
||||
fi
|
||||
}
|
||||
|
||||
pre_upgrade() {
|
||||
# Remove sleep hook if it exists untracked from a prior manual install
|
||||
rm -f /usr/lib/systemd/system-sleep/camera-sleep-hook
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
systemctl daemon-reload
|
||||
udevadm control --reload-rules 2>/dev/null || true
|
||||
|
||||
Reference in new issue
Block a user