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/>.
|
||||
|
||||
TRACKER_PORT=6969
|
||||
BOOTSTRAP_FILE=/opt/zeronet/bootstrap
|
||||
BLOGS_FILE=/opt/zeronet/blogs
|
||||
FORUM_FILE=/opt/zeronet/forum
|
||||
ZERONET_INSTALL=/opt/zeronet
|
||||
|
||||
if [ ! -d /opt/zeronet ]; then
|
||||
if [ -d ~/zeronet ]; then
|
||||
BOOTSTRAP_FILE=~/zeronet/bootstrap
|
||||
BLOGS_FILE=~/zeronet/blogs
|
||||
FORUM_FILE=~/zeronet/forum
|
||||
if [ ! -d $ZERONET_INSTALL ]; then
|
||||
if [ -d /home/$USER/zeronet ]; then
|
||||
ZERONET_INSTALL=/home/$USER/zeronet
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
BOOTSTRAP_FILE=$ZERONET_INSTALL/bootstrap
|
||||
BLOGS_FILE=$ZERONET_INSTALL/blogs
|
||||
FORUM_FILE=$ZERONET_INSTALL/forum
|
||||
|
||||
if [ ! -d /etc/avahi ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue