Skip to content

Commit

Permalink
Brave: fix not uninstalling due to an apt quirk/functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Mar 12, 2024
1 parent 7528d8e commit d98ad1b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/Brave/uninstall
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@

purge_packages || exit 1

#if the user uninstalls brave through pi-apps they expect it to actually be removed
#without the following line this will never be the case since brave-browser provides www-browser and man-db suggests www-browser and distros depend on man-db
#apt autoremove will not remove packages that are suggested or recommended and are currently installed
package_installed brave-browser && sudo apt purge -y --autoremove brave-browser | less_apt

remove_repofile_if_unused /etc/apt/sources.list.d/brave-browser-release.list "" /usr/share/keyrings/brave-browser-archive-keyring.gpg

0 comments on commit d98ad1b

Please sign in to comment.