diff options
author | Erich Eckner <git@eckner.net> | 2020-08-26 18:26:08 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-08-26 18:26:08 +0200 |
commit | a4efabe6702c6b50d42b0306acaddf2d64b22724 (patch) | |
tree | 74dbdd3bf6dbf972382735d86441ab9408ef7cb7 /archPackagesUpdate | |
parent | 165f5a3f5008b51563a215d3c7f53ee4a4017528 (diff) | |
download | archlinuxewe-a4efabe6702c6b50d42b0306acaddf2d64b22724.tar.xz |
archPackagesUpdate: move tmpdir to permanent storage to avoid ram exhaustion
Diffstat (limited to 'archPackagesUpdate')
-rwxr-xr-x | archPackagesUpdate | 2 |
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" |