diff options
author | Alexander Larsson <alexl@redhat.com> | 2017-12-11 16:49:40 +0100 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-12-14 09:04:38 +0000 |
commit | 3ade86b29268945da2610f42e9907ba74a24ada8 (patch) | |
tree | 8e16a6cd0802c9fd44ff3e021edfa91fd2958014 /app/flatpak-builtins-update.c | |
parent | 97683cfbe14c47a82aaac06e547d96c6d52bdc12 (diff) | |
download | flatpak-3ade86b29268945da2610f42e9907ba74a24ada8.tar.gz |
install: Add --reinstall
If you're installing something and its already installed, we undeploy
the old install first before deploying the new. This makes it very
easy to switch an application from one remote to another, without
having to uninstall first, which is both painful and could cause
the download to be unnecessary large.
Closes: #1241
Approved by: alexlarsson
Diffstat (limited to 'app/flatpak-builtins-update.c')
-rw-r--r-- | app/flatpak-builtins-update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/flatpak-builtins-update.c b/app/flatpak-builtins-update.c index fe73d955..68f0e7f7 100644 --- a/app/flatpak-builtins-update.c +++ b/app/flatpak-builtins-update.c @@ -187,7 +187,7 @@ flatpak_builtin_update (int argc, { FlatpakTransaction *transaction = flatpak_transaction_new (g_ptr_array_index (dirs, k), opt_yes, opt_no_pull, opt_no_deploy, - opt_no_static_deltas, !opt_no_deps, !opt_no_related); + opt_no_static_deltas, !opt_no_deps, !opt_no_related, FALSE); g_ptr_array_add (transactions, transaction); } |