Files
kyocera-sane/kyocera-sane.install
T

18 lines
337 B
Plaintext

post_install() {
chmod 1777 /usr/local/kyocera/scanner 2>/dev/null || true
udevadm control --reload-rules || true
udevadm trigger \
--subsystem-match=usb \
--attr-match=idVendor=0482 \
--attr-match=idProduct=0495 || true
}
post_upgrade() {
post_install
}
post_remove() {
udevadm control --reload-rules || true
}