(simatec) Fix Update Error
This commit is contained in:
parent
d7ac8c3fb7
commit
4296d874d0
2 changed files with 12 additions and 1 deletions
|
@ -264,7 +264,7 @@ elif [ -f $installPth/.configDone ]; then
|
|||
echo "${purple}${HLINE}${HLINE_SMALL}${normal}"
|
||||
echo
|
||||
done
|
||||
|
||||
touch $installPth/.update
|
||||
bash $installPth/update.sh && exit 0
|
||||
fi
|
||||
done
|
||||
|
|
11
update.sh
11
update.sh
|
@ -148,6 +148,17 @@ configPth="$installPth/config"
|
|||
etcPth="/var/lib/docker/volumes/piler-docker_piler_etc/_data"
|
||||
buildPth="$installPth/build"
|
||||
|
||||
if [ ! -f $installPth/.update ]; then
|
||||
echo
|
||||
echo "${redBold}${HLINE}"
|
||||
echo "${redBold} Please restart the update with installer.sh"
|
||||
echo "${redBold}${HLINE}${normal}"
|
||||
echo
|
||||
exit 1
|
||||
else
|
||||
rm $installPth/.update
|
||||
fi
|
||||
|
||||
if [ -f $installPth/docker-compose.yml ]; then
|
||||
rm $installPth/docker-compose.yml
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue