Will doing this break stuff? - cinnamon spice updater #543
Unanswered
DoggyDandelion
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'll try to be concise. I am new to computers, python and Linux so I am sorry if this is a dumb question. I am trying to write an update script to update packages from multiple package mangers (not because I need to, the GUI is fine, I'm just practicing/learning bash scripting). I want the option to list available updates, which I have and works fine. The cinnamon-spice-updater has the --list-simple option but you have to select a spice-type. I know I could just write the four bash commands to list the available updates but I was wondering why there isn't an option to do that? In the code for cinnamon-spice-updater I changed
choices = ["applet", "desklet", "extension", "theme"]
to
choices = ["applet", "desklet", "extension", "theme", "all"]
and I changed
to
I have no idea if there is a better way to do that. Will doing that break stuff? Is there a better way I should do it? I looked into the code and I found that the
updater.get_updates()
method uses a loop and for each individual spice-type and and concatenates the updates together. Why can't you get there updates all at once? Again, sorry if this is a dumb question, I'm just learning and there isn't many forum post about this already (that I could find). Is it because each type has its own repository on GitHub? Thanks for reading :)Beta Was this translation helpful? Give feedback.
All reactions