archinstall/modules/20-postchroot/99-done.sh
2025-10-03 10:10:06 +00:00

12 lines
185 B
Bash

#!/bin/bash
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/