blob: 8c3532add6e55a2ebbc8513a9219cd78e10f3aed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#!/bin/sh
#
# $NetBSD: INSTALL,v 1.3 2001/11/23 10:22:53 tron Exp $
#
PKGNAME=$1
EXCONFDIR=${PKG_PREFIX}/etc/squid/
SYSCONFDIR=@SYSCONFDIR@/
SQUIDCONF=squid.conf
MIMECONF=mime.conf
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
echo ""
echo " o You DO need running nameservice to start and run ${PKGNAME}".
echo ""
echo " o Use the ${PKGNAME} proxy and caching WWW Server by"
echo " configuring your WWW Navigator (Netscape, Mosaic,...)"
echo " to use it as a proxy server."
echo ""
if [ "${EXCONFDIR}" = "${SYSCONFDIR}" ]
then
echo " o Copy \"${EXCONFDIR}${SQUIDCONF}.default\" to \"${SQUIDCONF}\""
echo " and \"${EXCONFDIR}${MIMECONF}.default\" to \"${MIMECONF}\""
else
echo " o Copy \"${EXCONFDIR}${SQUIDCONF}.default\" to \"${SYSCONFDIR}${SQUIDCONF}\""
echo " and \"${EXCONFDIR}${MIMECONF}.default\" to \"${SYSCONFDIR}${MIMECONF}\""
fi
echo " and edit them as required. You should pay attention to the"
echo " ACTUAL locations of the cache \"spool\" logfiles and pidfile."
echo ""
;;
*)
echo "Unexpected Argument ${2}."
exit 1
;;
esac
exit 0
|