summaryrefslogtreecommitdiff
path: root/community/usbview/usbview.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-06 01:08:04 -0800
committerroot <root@rshg054.dnsready.net>2013-01-06 01:08:04 -0800
commite0e1ffb6dccdc48c2448cfd79dac3ccbbed96c75 (patch)
treefdc608fa0b41862bfce4aa0f5c62d50f23e88561 /community/usbview/usbview.install
parent2586a8c75ef351dbd1b31605644e101e92d2c280 (diff)
Sun Jan 6 01:07:49 PST 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
+}