-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: fix infinte loop when prompting for SDDM themes #41
Conversation
its written there.... type y or n NOT x and yes it will loop since it will only accept either Y y or N n |
@JaKooLit I agree, it should only accept Yy/Nn but we shouldn't be stuck in a infinite loop. Currently the only way is to type Ctrl+c and quit the script. I pressed x because a mistyped. (On my keyboard it next to y) Even better, Peek.2024-03-07.21-15.mp4 |
what happen if you press n? |
Nothing, it keep going |
hmmmm weird.... I just tried now, choosing n will just skip installing sddm can you attach here the sddm log? |
Sure! To be sure we are on the same page:
-- After the first loop : Therefore, |
Oh my bad... and you were right... I just reviewed again... thanks alot however, in the future, kindly make a PR on the development branch. thanks alot |
No problem, I will do! Have a great day / evening and thanks for what you do for the community. Much appreciated ! ❤️ |
Pull Request
Description
As I was running the script on my VM, I hit x instead of y and got stuck in an infinite loop.
Resetting the prompt variable (
install_sddm_theme
) fix the issue.I haven't checked if the issue was present elsewhere in the scripts.
Type of change
Please put an
x
in the boxes that apply:Checklist
Please put an
x
in the boxes that apply:Additional context
Tested locally with a minimal reproducible example