Browse Source

poink: enhanced to cohexist with other packages that provide ping

user/chris/old/ruby
Alejandro Mery 15 years ago
parent
commit
3ea0e93dff
  1. 27
      network/poink/poink.conf

27
network/poink/poink.conf

@ -0,0 +1,27 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../poink/poink.conf
# Copyright (C) 2009 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
makeinstopt=
poink_install() {
cp -vf poink "$root$bindir/"
cp -vf ping.1 "$root$mandir/man1/poink.1"
if ! pkginstalled netkit-base inetutils; then
ln -snf ping "$root$bindir/poink"
ln -snf ping.1 "$root$mandir/man1/poink.1"
fi
}
hook_add postmake 5 'poink_install'
Loading…
Cancel
Save