Newer
Older
# Copyright (C) 2012 Jonathan Chu <milki@rescomp.berkeley.edu>. All Rights Reserved.
# This file is licensed under the GPLv2+. Please see COPYING for more information.
local ramdisk="/var/tmp/password-store.ramdisk"
SECURE_TMPDIR="$(TMPDIR=$ramdisk mktemp -t "$template" -d)"
yesno "$(echo "A ramdisk does not exist at $ramdisk, which means that it may"
echo "be difficult to entirely erase the temporary non-encrypted"
echo "password file after editing. Are you sure you would like to"
echo -n "continue?")"
SECURE_TMPDIR="$(mktemp -t "$template" -d)"