Posted by: Dakusan
« on: December 20, 2024, 11:30:22 am »Original update for Update - Permission check before updating Flatpaks can be found at https://www.castledragmire.com/Updates/Update_-_Permission_check_before_updating_Flatpaks.
Originally posted on: 12/20/24
Regarding: Checking permissions before updating Flatpaks
Originally posted on: 12/20/24
Regarding: Checking permissions before updating Flatpaks
I updated the Checking permissions before updating Flatpaks post with the following changes:
- Split post into the following sections:
- My final updated copy of the script
- List of the changes I made from the AI produced script
- The commands I gave the AI
- The final script the AI produced
- Made more updates to the final script:
- Added “askQuestion” function since there are now multiple places in the script that ask questions
- Added $NoNewline to outputColor (for “askQuestion” function)
- Changed get-updates command from “flatpak remote-ls --updates” to “echo n | flatpak update” (with a regex extraction). Also now confirms the update list with the user.