git » wol.git » commit 9755292

Hooks (part #1)

author Sergej Pupykin
2016-04-27 15:32:43 UTC
committer Sergej Pupykin
2016-04-27 15:32:43 UTC
parent d243d2afbfdb67ea8de717e86629e967019fa4e7

Hooks (part #1)

PKGBUILD +0 -1
wol.install +0 -20

diff --git a/PKGBUILD b/PKGBUILD
index 0fa6ec2..95196a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,6 @@ pkgdesc="Wake On LAN functionality in a small program. It wakes up hardware that
 license=("GPL")
 depends=()
 url="http://ahh.sourceforge.net/wol/"
-install=wol.install
 source=(http://downloads.sourceforge.net/ahh/wol-$pkgver.tar.gz)
 md5sums=('c2fa9d7e771134ac8c89d56b8197d4ca')
 
diff --git a/wol.install b/wol.install
deleted file mode 100644
index 500ea57..0000000
--- a/wol.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(wol.info)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}