ymir-linux / void-packages

The Void source libre packages collection
https://voidlinux.org
Other
7 stars 2 forks source link

Yes/no prompt is needed #2

Closed reback00 closed 4 years ago

reback00 commented 4 years ago

A y/n prompt is needed in many cases, like if it should create ~/.local/src, if it should remove linux packages and their images on /boot, if it should install your-freedom etc. This would be much more interactive and would involve less manual intervention by the user.

drake-newell commented 4 years ago

I've never done something like that in a script but I l know it has something to do with the read command. I'll look into it.

drake-newell commented 4 years ago

I added this feature, although it is pretty messy for now.