1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
post_install() { update-desktop-database -q echo ">>> Debugfs must be mounted in order to use usbview." echo ">>> As root execute:" echo ">>> \"mount -t debugfs none /sys/kernel/debug\" or add" echo ">>> \"none /sys/kernel/debug debugfs defaults 0 0\"" echo ">>> to /etc/fstab" } post_upgrade() { post_install } post_remove() { update-desktop-database -q }