archinstall/modules/20-postchroot/99-done.sh
2025-06-21 06:30:06 +00:00

14 lines
212 B
Bash

#!/bin/bash
#shellcheck disable=SC2154
BOLD=$'\e[1m'
GREEN=$'\e[32m'
NORMAL=$'\e[0m'
read -rp "${BOLD}${GREEN}DONE. Umount? [Y/n]${NORMAL} " ANS
if ! [[ "${ANS,}" =~ ^$|^y ]]; then
exit
fi
umount -R /mnt/