summaryrefslogtreecommitdiff
path: root/src/platform/freebsd.sh
blob: 3900f10acb85cccbe4f2ed98091b6e49a6862c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
tmpdir() {
    ramdisk="/var/tmp/password-store.ramdisk"
    if [[ -d $ramdisk && -d $ramdisk && -d $ramdisk ]]; then
		tmp_dir="$(TMPDIR=$ramdisk mktemp -t "$template" -d)"
	else
		yesno "$(cat <<PROMPT
A ramdisk does not exist at

    $ramdisk

which means that it may be difficult to entirely erase
the temporary non-encrypted password file after editing.
Are you sure you would like to continue?
PROMPT
)"
		tmp_dir="$(mktemp -t "$template" -d)"
	fi
}

GPG="gpg2"
GETOPT="/usr/local/bin/getopt"
itle='2012-09-18 19:50:10 +0300'>2012-09-18Add additional information from KeepassX xmlJuhamatti Niemelä1-3/+15 2012-09-18Copyright and licensing info to keepassx2pass scriptJuhamatti Niemelä1-0/+4 2012-09-18Quote the template.Jason A. Donenfeld1-1/+1 2012-09-18Better dependency list.Jason A. Donenfeld1-1/+10 2012-09-18Make recursive make silent.Jason A. Donenfeld1-1/+1 2012-09-18Quote the program name.Jason A. Donenfeld1-4/+4 2012-09-17Abstract potentially platform specific commands into their own commands.Jason A. Donenfeld4-72/+97 2012-09-16Support recursive and forced removal.Jason A. Donenfeld2-12/+28 2012-09-16Small stylistic things.Jason A. Donenfeld1-9/+9 2012-09-15Use --force flag in keepassx import.Jason A. Donenfeld1-1/+1