diff --git a/web_interface/html/bashscripts/updatewebinterface.sh b/web_interface/html/bashscripts/updatewebinterface.sh index 563f1a2495756b45554ecf5dbb3650012c542d71..99008a4a62936f15942e5312a0c6d4d6d9875bc5 100755 --- a/web_interface/html/bashscripts/updatewebinterface.sh +++ b/web_interface/html/bashscripts/updatewebinterface.sh @@ -83,11 +83,13 @@ echo "" # REMOVE the contents of the bashscripts folder rm -v bashscripts/*.sh echo "Removed all the contents of the \"bashscripts\" folder" +rmdir -v bashscripts +echo "Removed the \"bashscripts\" folder" echo "" # -# Change directory to the web home -cd $wwwhome -echo "Changed directory back to $wwwhome" +# Make the img folder again +mkdir -v bashscripts +echo "Remade the \"bashscripts\" folder" # Copy the bashscript files cp -v $dfallhome"/bashscripts/"*.sh $wwwhome"/bashscripts/" echo "Copied across the \"bashscripts\" folder contents"