Allow to run flatpak update with sudo (#738)
This change adds the option `flatpak.use_sudo` that allows to update the system-wide installation with sudo. When set to `true` the system-wide installation will be updated with sudo. If set to `false` (default) the update will be run as regular user. This solves the problem where running `flatpak update` on a remote system fails if run as regular user. Fixes #737.
This commit is contained in:
committed by
GitHub
parent
74292ef6d2
commit
2cd1ea6845
@@ -89,3 +89,7 @@
|
||||
[firmware]
|
||||
# Offer to update firmware; if false just check for and display available updates
|
||||
#upgrade = true
|
||||
|
||||
[flatpak]
|
||||
# Use sudo for updating the system-wide installation
|
||||
#use_sudo = true
|
||||
|
||||
Reference in New Issue
Block a user