network/dante: Fix broken symlinks.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-03 19:35:08 -05:00 committed by Willy Sudiarto Raharjo
parent c1a9e9e388
commit f7941f777b
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -8,11 +8,13 @@
# TODO: init script? Only if someone asks for it...
# 20230103 bkw: BUILD=2, fix broken symlinks.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dante
VERSION=${VERSION:-1.4.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -100,8 +102,8 @@ cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.Slackware
# Not going to install actual socks.conf and sockd.conf in /etc,
# but at least symlink the examples where they can be found easily.
mkdir -p $PKG/etc
ln -s ../usr/doc/$PRGNAM-$VERSION/socks.conf $PKG/etc/socks.conf.example
ln -s ../usr/doc/$PRGNAM-$VERSION/sockd.conf $PKG/etc/sockd.conf.example
ln -s ../usr/doc/$PRGNAM-$VERSION/example/socks.conf $PKG/etc/socks.conf.example
ln -s ../usr/doc/$PRGNAM-$VERSION/example/sockd.conf $PKG/etc/sockd.conf.example
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc