diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-10 11:17:34 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-04-10 11:17:34 -0400 |
commit | a21bec65feb51a7a2800d4992709e0e26b693690 (patch) | |
tree | 6d443419f4ef30005313d69a0a2391d01d40c457 | |
parent | 51c43df478f58dda80fe6822232d9b615ae9ce41 (diff) | |
download | stasis-a21bec65feb51a7a2800d4992709e0e26b693690.tar.gz |
Setting the XDG_DATA_HOME won't work. Podman stores container files as root at this location and can't be purged by the user without making a dangerous call or two. Again, the user can set HOME on their own accord.
-rw-r--r-- | src/deliverable.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/deliverable.c b/src/deliverable.c index f3387c8..92dd273 100644 --- a/src/deliverable.c +++ b/src/deliverable.c @@ -690,10 +690,6 @@ int delivery_init(struct Delivery *ctx) { sprintf(cache_local, "%s/%s", ctx->storage.tmpdir, "cache"); setenv("XDG_CACHE_HOME", ctx->storage.tmpdir, 1); - char data_local[PATH_MAX]; - sprintf(data_local, "%s/%s", ctx->storage.tmpdir, "local/share"); - setenv("XDG_DATA_HOME", data_local, 1); - // add tools to PATH char pathvar_tmp[OMC_BUFSIZ]; sprintf(pathvar_tmp, "%s/bin:%s", ctx->storage.tools_dir, getenv("PATH")); |