summaryrefslogtreecommitdiff
path: root/archPackagesUpdate
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-08-26 18:26:08 +0200
committerErich Eckner <git@eckner.net>2020-08-26 18:26:08 +0200
commita4efabe6702c6b50d42b0306acaddf2d64b22724 (patch)
tree74dbdd3bf6dbf972382735d86441ab9408ef7cb7 /archPackagesUpdate
parent165f5a3f5008b51563a215d3c7f53ee4a4017528 (diff)
downloadarchlinuxewe-a4efabe6702c6b50d42b0306acaddf2d64b22724.tar.xz
archPackagesUpdate: move tmpdir to permanent storage to avoid ram exhaustion
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-xarchPackagesUpdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index a27cbe98e..3e6ddcedc 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -1,7 +1,7 @@
#!/bin/bash
# init variables
-tmpDir="$(mktemp -d /tmp/archive.XXXXXX)"
+tmpDir="$(mktemp -d ~/tmp.archive.XXXXXX)"
trap 'rm -rf --one-file-system "${tmpDir}"' EXIT
pkgDirBase="/srv/arch-mirror/arch/arch"
pkgDir="${pkgDirBase}/archlinuxewe/os"