-
Notifications
You must be signed in to change notification settings - Fork 210
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
Add support for newer Lua versions #253
Comments
I haven't used lua in many many years, so I don't know if we can just switch over to 5.4 without any changes to the snippets of lua in raspi-config itself. It doesn't look like there's anything tricky going on and 5.4 should just work, but I don't have time to check that right now.
It looks like these could just be rewritten to use sed and the lua dependency could be dropped entirely. |
I tested the code with Lua3.4 and it seems to be working fine. I fear that switching to sed might potentially introduce new bugs and make the code less readable. |
Anyway, the
So even though the package depends on |
Thanks for checking and that's a good point about the lua symlink. But I still think the lua snippets are a bit out of place in a shell script. I don't think it will be any less readable. It would be using the same regular expressions, which is usually the least readable part. |
Hello,
Currently
raspi-config
depends onlua5.1
(https://github.com/RPi-Distro/raspi-config/blob/bookworm/debian/control#L12). Would it be possible to add support for newer versions of Lua and not depend on that very old Lua?The text was updated successfully, but these errors were encountered: