Tidying
This commit is contained in:
parent
61331afaae
commit
c09b186f68
|
@ -34,6 +34,7 @@
|
|||
WEB_PAGE_TITLE="Freedombone Mesh"
|
||||
TRACKER_PORT=6969
|
||||
ZERONET_INSTALL=/opt/zeronet
|
||||
ZERONET_USER_HOME=/home/zeronet
|
||||
MY_USERNAME=$USER
|
||||
|
||||
if [ ! -d $ZERONET_INSTALL ]; then
|
||||
|
@ -221,7 +222,7 @@ rm -f $TEMPFILE
|
|||
|
||||
cp -f $BOOTSTRAP_FILE.new $BOOTSTRAP_FILE
|
||||
rm -f $BOOTSTRAP_FILE.new
|
||||
if [ -d /home/zeronet ]; then
|
||||
if [ -d $ZERONET_USER_HOME ]; then
|
||||
sudo chown zeronet:zeronet $BOOTSTRAP_FILE
|
||||
fi
|
||||
|
||||
|
@ -237,14 +238,14 @@ create_index
|
|||
# create a web page showing the available blogs
|
||||
cat ${BLOGS_FILE}-header.html ${BLOGS_FILE}.new ${BLOGS_FILE}-footer.html > ${BLOGS_FILE}.html
|
||||
rm -f ${BLOGS_FILE}.new
|
||||
if [ -d /home/zeronet ]; then
|
||||
if [ -d $ZERONET_USER_HOME ]; then
|
||||
sudo chown zeronet:zeronet $BLOGS_FILE
|
||||
fi
|
||||
|
||||
# create a web page showing the available fora
|
||||
cat ${FORUM_FILE}-header.html ${FORUM_FILE}.new ${FORUM_FILE}-footer.html > ${FORUM_FILE}.html
|
||||
rm -f ${FORUM_FILE}.new
|
||||
if [ -d /home/zeronet ]; then
|
||||
if [ -d $ZERONET_USER_HOME ]; then
|
||||
sudo chown zeronet:zeronet $FORUM_FILE
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue