From 82130bfbe87f90971c65ea18d126fe6d170c1a88 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Tue, 14 Nov 2017 05:58:19 +0000 Subject: [PATCH] shim: Use SNAP_USER_COMMON for our home tree LSI enables Steam, which will invariably have massive games on disk. We do NOT want this large data being moved around between upgrades, and need this data to be "sticky" and unversioned. To alleviate le huge pains of upgrades, start using this directory before we go into production. This will mean only one last switch of the games tree. Signed-off-by: Ikey Doherty --- src/shim/shim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shim/shim.c b/src/shim/shim.c index 7063a98..89850ee 100644 --- a/src/shim/shim.c +++ b/src/shim/shim.c @@ -253,7 +253,7 @@ static void shim_export_extra(const char *prefix) shim_export_merge_vars("XDG_DATA_DIRS", prefix, "/usr/share"); - snap_user = getenv("SNAP_USER_DATA"); + snap_user = getenv("SNAP_USER_COMMON"); shim_export_merge_vars("XDG_DATA_DIRS", NULL, "/usr/share"); shim_export_merge_vars("XDG_DATA_DIRS", prefix, "/usr/share"); if (snap_user) {