Skip to content

Commit

Permalink
fix www links update
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Jun 6, 2018
1 parent 9bec9dc commit 9714c0d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions addon_files/update_script
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,18 @@ if [ -d $ADDONS_DIR/node-red ]; then
rm -rf $ADDONS_DIR/node-red
fi


mkdir -p $CONF_DIR/lighttpd
ln -sf $RED_DIR/lighttpd.conf $CONF_DIR/lighttpd/redmatic.conf


chmod a+x $RED_DIR/node-red
ln -sf $RED_DIR/redmatic $CONF_DIR/rc.d/redmatic

if [ ! -f $RED_DIR/var/flows.json ]; then
mv $RED_DIR/var/example-flows.json $RED_DIR/var/flows.json
fi

ln -s $RED_DIR/update_check.tcl $WWW_DIR/update_check.cgi
ln -s $RED_DIR/logo-w-200.png $WWW_DIR/logo-w-200.png
ln -sf $RED_DIR/update_check.tcl $WWW_DIR/update_check.cgi
ln -sf $RED_DIR/logo-w-200.png $WWW_DIR/logo-w-200.png

touch $CONF_DIR/hm_addons.cfg

Expand Down

0 comments on commit 9714c0d

Please sign in to comment.