Add a message for if inital configure-stormux gets interrupted.
This commit is contained in:
parent
aa4ec62c47
commit
50d9099231
@ -7,7 +7,16 @@ if [[ -x /etc/audibleprompt.sh ]]; then
|
|||||||
export sudoFlags=("-A")
|
export sudoFlags=("-A")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
trap 'popd &> /dev/null' EXIT
|
trap cleanup EXIT
|
||||||
|
cleanup() {
|
||||||
|
popd &> /dev/null
|
||||||
|
if ! [[ -x /opt/configure-stormux/configure-stormux.sh ]]; then
|
||||||
|
echo "Initial setup is not complete."
|
||||||
|
echo "To continue setup, please run:"
|
||||||
|
echo "sudo configure-stormux"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if [[ -x /opt/configure-stormux/configure-stormux.sh ]]; then
|
if [[ -x /opt/configure-stormux/configure-stormux.sh ]]; then
|
||||||
pushd /opt/configure-stormux
|
pushd /opt/configure-stormux
|
||||||
|
Loading…
Reference in New Issue
Block a user