summaryrefslogtreecommitdiff
path: root/pcr/hwd/hwd.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-01 22:21:00 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-01 22:21:00 -0300
commit888ba65470b25311d05aa55c9f88fb6736ece938 (patch)
tree139490225c3190a6f5728d3756fd17ea9038467b /pcr/hwd/hwd.install
parente08edc31359b2fdc2baf4ea9da246c6fac717ab6 (diff)
parentbf725c5b41e91a279bd79c6749b4b8950005d456 (diff)
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/hwd/hwd.install')
-rw-r--r--pcr/hwd/hwd.install30
1 files changed, 30 insertions, 0 deletions
diff --git a/pcr/hwd/hwd.install b/pcr/hwd/hwd.install
new file mode 100644
index 000000000..04955bfa9
--- /dev/null
+++ b/pcr/hwd/hwd.install
@@ -0,0 +1,30 @@
+# arg 1: the new package version
+post_install() {
+echo ""
+echo "lshwd dependency is replaced by pciutils and usbutils."
+echo ""
+echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
+echo ""
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ /bin/true
+echo ""
+echo "lshwd dependency is replaced by pciutils and usbutils."
+echo ""
+echo "Run 'hwd -u' to update xorgtable, pci-, and usb.ids."
+echo ""
+
+}
+
+# arg 1: the old package version
+pre_remove() {
+ rm -R /etc/hwd >/dev/null 2>&1
+}
+
+op=$1
+shift
+
+$op $*