mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-09-06 22:01:27 +00:00
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 <ikey@solus-project.com>
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user