mirror of
https://github.com/lalanza808/xmr.sh.git
synced 2025-06-29 05:57:10 -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 $?
|
check_return $?
|
||||||
else
|
else
|
||||||
echo -e "${Ok}"
|
echo -e "${Ok}"
|
||||||
echo -e "${WarnBullet}Warning: xmr.sh already present in ${XMRSH_DIR}" #FIXME: This should exit, when uninstall script ready
|
echo -e "${ErrBullet}Error: xmr.sh already present in ${XMRSH_DIR}. Run the uninstall script first."
|
||||||
return
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo -e "${Ok}"
|
echo -e "${Ok}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue