install: Use ONE_DIR flag

Since you can't really install in more than
one location at a time.

Closes: #2534
Approved by: alexlarsson
This commit is contained in:
Matthias Clasen
2019-01-08 23:50:12 -05:00
committed by Atomic Bot
parent 207419b168
commit 75e809bb1a

View File

@@ -276,7 +276,7 @@ flatpak_builtin_install (int argc, char **argv, GCancellable *cancellable, GErro
g_option_context_set_translation_domain (context, GETTEXT_PACKAGE);
if (!flatpak_option_context_parse (context, options, &argc, &argv,
FLATPAK_BUILTIN_FLAG_STANDARD_DIRS,
FLATPAK_BUILTIN_FLAG_ONE_DIR,
&dirs, cancellable, error))
return FALSE;