Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

making the isntall program mo right

  • Loading branch information...
commit 805e01233d33d0cae65c9414ddd28e74d94903d0 1 parent 3fe314c
BuzzTroll authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lantorrent/install.sh
View
4 lantorrent/install.sh
@@ -10,6 +10,7 @@ dir=`dirname $0`
cd $dir
LANTORRENT_HOME=`pwd`
+rm -rf $installdir
mkdir $installdir
cp -r `pwd`/* $installdir
rc=$?
@@ -26,8 +27,9 @@ if [ $rc -ne 0 ]; then
fi
who=`whoami`
-sed -e "s/@PORT@/2893/" -e "s/@SERVICENAME@/lantorrent/" -e "s/@WHO@/$who/" -e "s^@LANTORRENT_HOME@/$LANTORRENT_HOME/" etc/lantorrent.inet.in > lantorrent.inet
+sed -e "s/@PORT@/2893/" -e "s/@SERVICENAME@/lantorrent/" -e "s/@WHO@/$who/" -e "s^@LANTORRENT_HOME@^$LANTORRENT_HOME^" etc/lantorrent.inet.in > lantorrent.inet
+rm etc/req.db
sqlite3 etc/req.db < etc/lt.sql
rc=$?
if [ $rc -ne 0 ]; then
Please sign in to comment.
Something went wrong with that request. Please try again.