diff options
-rw-r--r-- | encap/INSTALL | 1 | ||||
-rwxr-xr-x | encap/src/makeself-dist/makedist.sh | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/encap/INSTALL b/encap/INSTALL index 76541a489..1e9209fa7 100644 --- a/encap/INSTALL +++ b/encap/INSTALL @@ -11,7 +11,6 @@ EncapPackages | EncapReadme | '''EncapInstall''' | EncapHowto install the gcc bug fix at http://www.openssl.org/~appro/values.c by running "`ksh -f values.c`" as root (or openssl will segfault) * GNU make (make sure "gmake" links to GNU make on non-GNU platforms) - * /usr/local/man should be a directory, not a symbolic link * epkg (the encap package manager) * Canonical website is http://www.encap.org/epkg * Mirror of epkg binaries is available at http://www.dclark.us/mirror/ diff --git a/encap/src/makeself-dist/makedist.sh b/encap/src/makeself-dist/makedist.sh index 68aee6c99..48f257fc8 100755 --- a/encap/src/makeself-dist/makedist.sh +++ b/encap/src/makeself-dist/makedist.sh @@ -95,6 +95,11 @@ umask 002 # Local Variables LOC_INSTALLDIR="\`pwd\`" +# Make sure /usr/local/man exists +if [ ! -d /usr/local ]; then mkdir /usr/local; fi +if [ -h /usr/local/man ]; then rm /usr/local/man; fi +if [ ! -d /usr/local/man ]; then mkdir /usr/local/man; fi + # Install epkg if it isn't installed if [ ! -h "$EPKG" -o ! -d "$ENCAPDIR/epkg-2.3.[89]" ]; then printf "epkg : (cd / && tar xf \$LOC_INSTALLDIR/epkg.tar)\n" |