Don't bother advertising GNU rmt.

This commit is contained in:
naddy 2004-09-23 16:49:56 +00:00
parent 43d0acfb98
commit f25ca6486a
2 changed files with 0 additions and 76 deletions

View File

@ -1,25 +0,0 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.3 2002/08/10 23:48:38 nino Exp $
#
# gtar de-installation
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
if [ X`readlink /etc/rmt` = X${PREFIX}/libexec/grmt ]; then
rm -f /etc/rmt
echo
echo "+---------------"
echo "| You should reset the /etc/rmt link to whatever it was"
echo "| before gtar was installed, perhaps /usr/sbin/rmt"
echo "| Try these steps as root:"
echo "|"
echo "| cd /etc"
echo "| ln -s /usr/sbin/rmt"
echo "|"
echo "+---------------"
echo
fi
exit 0

View File

@ -1,51 +0,0 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.1 1999/04/09 22:30:48 marc Exp $
#
# Pre/post-installation setup of gtar
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
# Function: tell the user what s/he needs to do to use the port just installed
#
do_notice()
{
echo
echo "+---------------"
echo "| You might want to setup a link to /etc/rmt by issuing the command:"
echo "|"
echo "| ln -sf ${PREFIX}/libexec/grmt /etc/rmt"
echo "|"
echo "| If so, you should try to remember to reset that link"
echo "| to its former value if you ever pkg_delete this package."
echo "| It is NOT necessary to do this to use gtar."
echo "+---------------"
echo
}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
: nothing to pre-install for this port
;;
POST-INSTALL)
do_notice $1
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0