summaryrefslogtreecommitdiff
path: root/network/tntnet/tntnet.SlackBuild
diff options
context:
space:
mode:
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 ea8e11e0ec..ea6d7f1d7d 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