fix: add rm dgiot_dashboard

This commit is contained in:
U-JOHNLIU\jonhl 2022-01-17 14:24:35 +08:00
parent af1f2558ca
commit a564f1083c

View File

@ -1076,6 +1076,7 @@ function build_dashboard() {
fi
fi
rm ${script_dir}/dgiot_dashboard/ -rf
if [ ! -d ${script_dir}/dgiot_dashboard/ ]; then
git clone -b master https://gitee.com/dgiiot/dgiot-dashboard.git dgiot_dashboard
fi