From b697dc8a4829a36ca487d536771046ba9c84b680 Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Sun, 22 Mar 2026 08:16:59 -0300 Subject: [PATCH] app: Fix critical at user_install_detect_old on distro and Flatpak packages Closes: #16067 This fixes a regression introduced by 62467359 --- app/core/gimp-user-install.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/core/gimp-user-install.c b/app/core/gimp-user-install.c index 1b1fc0a2fb..41a3877d15 100644 --- a/app/core/gimp-user-install.c +++ b/app/core/gimp-user-install.c @@ -398,6 +398,7 @@ user_install_detect_old (GimpUserInstall *install, migrate = g_file_test (snap_dir, G_FILE_TEST_IS_DIR); if (! migrate && + g_getenv ("SNAP") != NULL && g_file_test (g_getenv ("SNAP"), G_FILE_TEST_IS_DIR) && g_getenv ("SNAP_USER_DATA") != NULL) {