mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-03-01 00:59:23 +01:00
Electrs - clean up after failed install (#4439)
This commit is contained in:
parent
440b788bd5
commit
45c5c0ff57
1 changed files with 6 additions and 1 deletions
|
@ -325,7 +325,12 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||||
echo "# user electrs exists already (codebase is installed)"
|
echo "# user electrs exists already (codebase is installed)"
|
||||||
else
|
else
|
||||||
echo "# Installing codebase"
|
echo "# Installing codebase"
|
||||||
/home/admin/config.scripts/bonus.electrs.sh install || exit 1
|
/home/admin/config.scripts/bonus.electrs.sh install
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "Install failed .. removing again."
|
||||||
|
/home/admin/config.scripts/bonus.electrs.sh uninstall
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Add table
Reference in a new issue