mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-19 06:11:47 -04:00
app: Remove a duplicated else if block
This commit is contained in:
committed by
Phaedrus Leeds
parent
da5a38c17c
commit
0465c464af
@@ -508,8 +508,6 @@ operation_error (FlatpakTransaction *transaction,
|
||||
msg = g_strdup_printf (_("%s%s%s already installed"), on, flatpak_ref_get_name (rref), off);
|
||||
else if (g_error_matches (error, FLATPAK_ERROR, FLATPAK_ERROR_NOT_INSTALLED))
|
||||
msg = g_strdup_printf (_("%s%s%s not installed"), on, flatpak_ref_get_name (rref), off);
|
||||
else if (g_error_matches (error, FLATPAK_ERROR, FLATPAK_ERROR_NOT_INSTALLED))
|
||||
msg = g_strdup_printf (_("%s%s%s not installed"), on, flatpak_ref_get_name (rref), off);
|
||||
else if (g_error_matches (error, FLATPAK_ERROR, FLATPAK_ERROR_NEED_NEW_FLATPAK))
|
||||
msg = g_strdup_printf (_("%s%s%s needs a later flatpak version"), on, flatpak_ref_get_name (rref), off);
|
||||
else if (g_error_matches (error, FLATPAK_ERROR, FLATPAK_ERROR_OUT_OF_SPACE))
|
||||
|
||||
@@ -166,8 +166,6 @@ operation_error (FlatpakTransaction *transaction,
|
||||
msg = g_strdup_printf (_("%s already installed"), flatpak_ref_get_name (rref));
|
||||
else if (g_error_matches (error, FLATPAK_ERROR, FLATPAK_ERROR_NOT_INSTALLED))
|
||||
msg = g_strdup_printf (_("%s not installed"), flatpak_ref_get_name (rref));
|
||||
else if (g_error_matches (error, FLATPAK_ERROR, FLATPAK_ERROR_NOT_INSTALLED))
|
||||
msg = g_strdup_printf (_("%s not installed"), flatpak_ref_get_name (rref));
|
||||
else if (g_error_matches (error, FLATPAK_ERROR, FLATPAK_ERROR_NEED_NEW_FLATPAK))
|
||||
msg = g_strdup_printf (_("%s needs a later flatpak version"), flatpak_ref_get_name (rref));
|
||||
else if (g_error_matches (error, FLATPAK_ERROR, FLATPAK_ERROR_OUT_OF_SPACE))
|
||||
|
||||
Reference in New Issue
Block a user