summaryrefslogtreecommitdiff
path: root/community/usbview/usbview.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/usbview/usbview.install
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
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
+}