14 lines
506 B
Bash
14 lines
506 B
Bash
MSAPPDIR=$(whiptail --inputbox "Mystic Install Directory that also must be set in the Mystic insallation Programm." 8 58 $MSDIR --title "Install Directory" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
|
|
exitstatus=$?
|
|
if [ -z $MSAPPDIR ]; then
|
|
MYSTIC_DIR="$MSDIR"
|
|
echo -e "${DGN}Installing Mystic to: ${BGN}$MYSTIC_DIR${CL}"
|
|
else
|
|
if [ $exitstatus = 0 ]; then
|
|
MYSTIC_DIR="$MSAPPDIR"
|
|
echo -e "${DGN}Installing Mystic to: ${BGN}$MYSTIC_DIR${CL}"
|
|
fi
|
|
fi
|
|
|
|
MUTIL_DIR=${MYSTIC_DIR}/mutil.d
|