mirror of
https://github.com/lalanza808/xmr.sh.git
synced 2025-05-10 19:35:00 -04:00
Exit if present
This commit is contained in:
parent
f201e23b16
commit
3c232d9672
1 changed files with 2 additions and 2 deletions
4
install
4
install
|
@ -170,8 +170,8 @@ install_xmrsh() {
|
|||
check_return $?
|
||||
else
|
||||
echo -e "${Ok}"
|
||||
echo -e "${WarnBullet}Warning: xmr.sh already present in ${XMRSH_DIR}" #FIXME: This should exit, when uninstall script ready
|
||||
return
|
||||
echo -e "${ErrBullet}Error: xmr.sh already present in ${XMRSH_DIR}. Run the uninstall script first."
|
||||
exit 1
|
||||
fi
|
||||
echo -e "${Ok}"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue