summaryrefslogtreecommitdiff
path: root/community/usbview/usbview.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/usbview/usbview.install')
-rw-r--r--community/usbview/usbview.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/usbview/usbview.install b/community/usbview/usbview.install
new file mode 100644
index 000000000..b7f7e849b
--- /dev/null
+++ b/community/usbview/usbview.install
@@ -0,0 +1,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
+}