zeronet install directory
This commit is contained in:
parent
e4684e91d7
commit
186960d407
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue