mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-16 04:24:56 +02:00
install.sh: remove $INSTALL_DIR if installation failed.
This commit is contained in:
parent
a2491aa355
commit
02923aadc6
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ fi
|
|||
mkdir -p "$INSTALL_DIR"/{bin,logs}
|
||||
make -e DESTDIR=$INSTALL_DIR PREFIX= CFGDIR= install install-scripts
|
||||
if [ $? -ne 0 ]; then
|
||||
rm -fr "$INSTALL_DIR"
|
||||
echo -e "\033[31m!!\033[0m Installation failed"
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue