linutil
linutil copied to clipboard
Enable RPMFusion repos as well on rpmfusion script
Type of Change
- [x] Bug fix ?
Description
Is there any reason for the rpm fusion setup not enabling the repos?
Testing
I was working on the Nvidia-driver script (on a non-standard fedora install) and noticed that it was failing cuz rpm-fussion never got enabled globally and the rpm-fusion-nvidia repo only exists on fedora DE spins
Checklist
- [ ] My code adheres to the coding and style guidelines of the project.
- [x] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.
- [ ] I have made corresponding changes to the documentation.
- [ ] My changes generate no errors/warnings/merge conflicts.
Chris doesn't like interactive scripts. If you're going to be making the RPM fusion script interactive then why break the synergy with every other script; you would have to refactor this PR to make every script interactive instead of just 1.
Ah ok good to know for future
Chris doesn't like interactive scripts. If you're going to be making the RPM fusion script interactive then why break the synergy with every other script; you would have to refactor this PR to make every script interactive instead of just 1.
The flathub script still has the prompt btw i might remove it
Chris doesn't like interactive scripts. If you're going to be making the RPM fusion script interactive then why break the synergy with every other script; you would have to refactor this PR to make every script interactive instead of just 1.
The flathub script still has the prompt btw i might remove it
scripts with multiple things being installed at once need an interactive prompt while others do not, the RPM fusion script is a prime example here, it does 1 thing, why make it interactive if its only doing 1 thing?
I don't think this is a necessary change !!
Chris doesn't like interactive scripts.
@kleidis, #593 might resolve this from a user information standpoint.
I don't think this is a necessary change !!
You mean ?
Chris doesn't like interactive scripts.
@kleidis, #593 might resolve this from a user information standpoint.
That's a really nice change
That's a really nice change
Thank you.
Since we are here. My original pr idea was to add the option for NVIDIA open kernel modules to the driver script
Is that a good idea
Since we are here. My original pr idea was to add the option for NVIDIA open kernel modules to the driver script
Is that a good idea
make it a new pr
Create a separate PR by modifying the nvidia-fedora script. You can make that interactive to prompt the user whether to install open kernel modules and proprietary one.
Since we are here. My original pr idea was to add the option for NVIDIA open kernel modules to the driver script Is that a good idea
make it a new pr
Ik, just wanted confirmation if it's a good idea to try because the project changes so fast
@kleidis just make it a separate script instead of combining allat into 1
Ik, just wanted confirmation if it's a good idea to try because the project changes so fast
Yep, good to go.
@kleidis just make it a separate script instead of combining allat into 1
But since you can select multiple scripts. What happens if both open and proprietary scripts are selected?
Do we have any way to disable multi-select for a certain script?
@kleidis just make it a separate script instead of combining allat into 1
But since you can select multiple scripts. What happens if both open and proprietary scripts are selected?
Do we have any way to disable multi-select for a certain script?
why would someone select both open and prop drivers to install?
But since you can select multiple scripts. What happens if both open and proprietary scripts are selected? Do we have any way to disable multi-select for a certain script?
why would someone select both open and prop drivers to install?
Never underestimate what users can break, xd
I assume this also works for nvidia-open anyway so we should be good
if modinfo -F version nvidia >/dev/null 2>&1; then
But since you can select multiple scripts. What happens if both open and proprietary scripts are selected?
It tries to install and conflicts.
Do we have any way to disable multi-select for a certain script?
We have data.preconditions but it doesn't solve the issue of multi-selecting conflicting scripts. I think merging this into one might be a better idea after all. @nnyyxxxx?
But since you can select multiple scripts. What happens if both open and proprietary scripts are selected?
It tries to install and conflicts.
Do we have any way to disable multi-select for a certain script?
We have
data.preconditionsbut it doesn't solve the issue of multi-selecting conflicting scripts. I think merging this into one might be a better idea after all. @nnyyxxxx?
yeh i'm aware of data.preconditions but as you said won't work
I think this should suffice for nvidia-open
if modinfo -F version nvidia >/dev/null 2>&1; then
We don't want two separate scripts for nvidia open and proprietary. Do both of them in one script. Prompt the user of open or proprietary
We don't want two separate scripts for nvidia open and proprietary. Do both of them in one script. Prompt the user of open or proprietary
Since it's 2-1 ill go with that approach than Thanks for feedback all
No problem.