Use flatpak --system to update flatpak (fix #107)

This commit is contained in:
Roey Darwish Dror
2019-01-16 11:28:37 +02:00
parent d8a9111c48
commit e9d76d185b
2 changed files with 6 additions and 25 deletions

View File

@@ -211,8 +211,7 @@ fn run() -> Result<(), Error> {
#[cfg(target_os = "linux")]
{
report.push_result(execute(|| linux::flatpak_user_update(run_type), opt.no_retry)?);
report.push_result(execute(|| linux::flatpak_global_update(&sudo, run_type), opt.no_retry)?);
report.push_result(execute(|| linux::flatpak_update(run_type), opt.no_retry)?);
report.push_result(execute(|| linux::run_snap(&sudo, run_type), opt.no_retry)?);
}