picodotdev / alis

Arch Linux Install Script (or alis, also known as the Arch Linux executable installation guide and wiki) installs an unattended, automated and customized Arch Linux system.
https://picodotdev.github.io/alis/
GNU General Public License v3.0
823 stars 319 forks source link

added: common function to ask user password #221

Closed mfgbhatti closed 2 years ago

mfgbhatti commented 2 years ago

Hi there, thanks for incorporating the last PR. This PR is about just one function ask_password which is reused in ask_passwords. I delibrate not changed varibale named WIFI_KEY, but if you want this can be changed to WIFI_PASSWORD and one more if statement will not be needed. Thank you

mfgbhatti commented 2 years ago

Just an after thought i reviewed the changes they are working.

picodotdev commented 2 years ago

I tweaked a bit the ask_password function to avoid the if statement to check WIFI case.

https://github.com/picodotdev/alis/commit/cb31e11bf48940f789e4a3bc8e3204bff6f1c79d