Skip to content

Commit c68b487

Browse files
install.sh: add option to exit before installing distro.
1 parent 35f3015 commit c68b487

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

install.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,11 @@ bash install.sh || {
114114

115115
## finally install a good stable distro
116116
lshout "Installing $CUR_BEST_DISTRO in 3 seconds.."
117-
sleep 3
117+
lshot "press q or CTRL+C to stop here.."
118+
read -r -n 1 -t 3 noi
119+
if [[ $noi == "q" ]]; then
120+
121+
118122
udroid install $CUR_BEST_DISTRO || {
119123
die "Failed to install $CUR_BEST_DISTRO"
120124
}

0 commit comments

Comments
 (0)