[arch-commits] Commit in usbview/trunk (PKGBUILD usbview.install)

2016-05-07 Thread Antonio Rojas
Date: Saturday, May 7, 2016 @ 19:09:02
  Author: arojas
Revision: 174210

Hooks

Modified:
  usbview/trunk/PKGBUILD
  usbview/trunk/usbview.install

-+
 PKGBUILD|2 +-
 usbview.install |5 -
 2 files changed, 1 insertion(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-05-07 17:06:56 UTC (rev 174209)
+++ PKGBUILD2016-05-07 17:09:02 UTC (rev 174210)
@@ -4,7 +4,7 @@
 
 pkgname=usbview
 pkgver=2.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Display the topology of devices on the USB bus"
 arch=('i686' 'x86_64')
 url="http://www.kroah.com/linux/usb/;

Modified: usbview.install
===
--- usbview.install 2016-05-07 17:06:56 UTC (rev 174209)
+++ usbview.install 2016-05-07 17:09:02 UTC (rev 174210)
@@ -1,5 +1,4 @@
 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"
@@ -10,7 +9,3 @@
 post_upgrade() {
   post_install
 }
-
-post_remove() {
-  update-desktop-database -q
-}


[arch-commits] Commit in usbview/trunk (PKGBUILD usbview.install)

2012-10-23 Thread Giovanni Scafora
Date: Tuesday, October 23, 2012 @ 07:13:14
  Author: giovanni
Revision: 169542

upgpkg: usbview 2.0-2

Added a hint to mount debugfs

Modified:
  usbview/trunk/PKGBUILD
  usbview/trunk/usbview.install

-+
 PKGBUILD|2 +-
 usbview.install |7 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2012-10-23 11:12:04 UTC (rev 169541)
+++ PKGBUILD2012-10-23 11:13:14 UTC (rev 169542)
@@ -4,7 +4,7 @@
 
 pkgname=usbview
 pkgver=2.0
-pkgrel=1
+pkgrel=2
 pkgdesc=Display the topology of devices on the USB bus
 arch=('i686' 'x86_64')
 url=http://www.kroah.com/linux/usb/;

Modified: usbview.install
===
--- usbview.install 2012-10-23 11:12:04 UTC (rev 169541)
+++ usbview.install 2012-10-23 11:13:14 UTC (rev 169542)
@@ -1,5 +1,10 @@
 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() {
@@ -7,5 +12,5 @@
 }
 
 post_remove() {
-  post_install
+  update-desktop-database -q
 }