diff --git a/usr/lib/archboot/installer/base.sh b/usr/lib/archboot/installer/base.sh index a2dccc8a0..9e6adf9be 100644 --- a/usr/lib/archboot/installer/base.sh +++ b/usr/lib/archboot/installer/base.sh @@ -323,7 +323,7 @@ _mainmenu() { "8") [[ -e /tmp/.setup-running ]] && rm /tmp/.setup-running clear - if [[ "${_DESTDIR}" == "/install" ]]; then + if mountpoint -q /install; then echo "" echo "If the install finished successfully, you can now type 'reboot'" echo "to restart the system."