zeronet install directory

This commit is contained in:
Bob Mottram 2015-09-03 09:18:26 +01:00
parent e4684e91d7
commit 186960d407
1 changed files with 8 additions and 8 deletions

View File

@ -29,20 +29,20 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
TRACKER_PORT=6969 TRACKER_PORT=6969
BOOTSTRAP_FILE=/opt/zeronet/bootstrap ZERONET_INSTALL=/opt/zeronet
BLOGS_FILE=/opt/zeronet/blogs
FORUM_FILE=/opt/zeronet/forum
if [ ! -d /opt/zeronet ]; then if [ ! -d $ZERONET_INSTALL ]; then
if [ -d ~/zeronet ]; then if [ -d /home/$USER/zeronet ]; then
BOOTSTRAP_FILE=~/zeronet/bootstrap ZERONET_INSTALL=/home/$USER/zeronet
BLOGS_FILE=~/zeronet/blogs
FORUM_FILE=~/zeronet/forum
else else
exit 0 exit 0
fi fi
fi fi
BOOTSTRAP_FILE=$ZERONET_INSTALL/bootstrap
BLOGS_FILE=$ZERONET_INSTALL/blogs
FORUM_FILE=$ZERONET_INSTALL/forum
if [ ! -d /etc/avahi ]; then if [ ! -d /etc/avahi ]; then
exit 0 exit 0
fi fi