aboutsummaryrefslogtreecommitdiff
path: root/network/tntnet/tntnet.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-25 18:53:54 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:58:51 +0700
commitaf8c6a0ec5959d6879abdbd667b6ad956f10dd49 (patch)
treea964bada20c9c4e3d3b2921c36e167d83f1e848c /network/tntnet/tntnet.SlackBuild
parenta88f9910d1a6942340692033e0e820c49dfd5451 (diff)
network/tntnet: Updated for version 2.2.1.
Fixes build with cxxtools-2.2.1. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/tntnet/tntnet.SlackBuild')
-rw-r--r--network/tntnet/tntnet.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/network/tntnet/tntnet.SlackBuild b/network/tntnet/tntnet.SlackBuild
index ea8e11e0ec31c..ea6d7f1d7d20d 100644
--- a/network/tntnet/tntnet.SlackBuild
+++ b/network/tntnet/tntnet.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tntnet
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -85,9 +85,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-mv $PKG/etc/$PRGNAM/mime.conf{,.new}
-mv $PKG/etc/$PRGNAM/$PRGNAM.conf{,.new}
-sed -i "s|www-data|apache|" $PKG/etc/$PRGNAM/$PRGNAM.conf.new
+mv $PKG/etc/$PRGNAM/$PRGNAM.xml{,.new}
+sed -i "s|www-data|apache|" $PKG/etc/$PRGNAM/$PRGNAM.xml.new
install -m 0755 -D $PKG/etc/init.d/$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
rm -fr $PKG/etc/init.d