Merge pull request #219 from Schrolli91/flothi-patch-2

Update install.sh
This commit is contained in:
Bastian Schroll 2017-02-19 15:00:57 +01:00 committed by GitHub
commit f266eb26fa

View file

@ -32,7 +32,7 @@ if [[ $EUID -ne 0 ]]; then
exit 1
fi
echo "This may take a several minutes... Don't panic!"
echo "This may take several minutes... Don't panic!"
echo ""
echo "Caution, script does not install a webserver with PHP and MySQL"
echo "So you have to make up manually if you want to use MySQL support"
@ -192,6 +192,14 @@ echo "and modify the config as you need. This step is optional if you are upgrad
tput cnorm
# cleanup
mkdir $boswatchpath/log/install -p
mv $boswatchpath/install/setup_log.txt $boswatchpath/log/install/
rm $boswatchpath/install/ -R
mv $boswatchpath/BOSWatch/* $boswatchpath/
rm $boswatchpath/BOSWatch -R
if [ $reboot = "true" ]; then
/sbin/reboot
fi