Separate Flatpak user from Flatpak global (fix #67)

This commit is contained in:
Roey Darwish Dror
2018-10-02 14:30:10 +03:00
parent 4cc076212c
commit a9c534a2a2
2 changed files with 35 additions and 5 deletions

View File

@@ -250,7 +250,11 @@ fn run() -> Result<(), Error> {
#[cfg(target_os = "linux")]
{
report.push_result(execute(
|terminal| linux::run_flatpak(terminal, opt.dry_run),
|terminal| linux::flatpak_user_update(terminal, opt.dry_run),
&mut terminal,
));
report.push_result(execute(
|terminal| linux::flatpak_global_update(&sudo, terminal, opt.dry_run),
&mut terminal,
));
report.push_result(execute(