meta:install: Create GNUPGHOME if nonexistent

This is more of a one-time step to be done when installing, than every
time on login.
This commit is contained in:
2021-07-07 11:56:57 +02:00
parent 4606f9ad80
commit 0480b98812
2 changed files with 3 additions and 1 deletions

View File

@@ -9,7 +9,6 @@ export XDG_{CONFIG,CACHE,DATA}_HOME
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export GNUPGHOME="$XDG_DATA_HOME"/gnupg export GNUPGHOME="$XDG_DATA_HOME"/gnupg
[[ -e $GNUPGHOME ]] || mkdir -p "$GNUPGHOME"
export GOPATH="$XDG_DATA_HOME"/go export GOPATH="$XDG_DATA_HOME"/go
export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer export MPLAYER_HOME="$XDG_CONFIG_HOME"/mplayer
export WGETRC="$XDG_CONFIG_HOME"/wget/wgetrc export WGETRC="$XDG_CONFIG_HOME"/wget/wgetrc

View File

@@ -31,6 +31,9 @@
description: Installing coc.nvim description: Installing coc.nvim
stdout: true stdout: true
stderr: true stderr: true
-
command: ! command -v gpg >/dev/null 2>&1 || mkdir -p ~/.local/share/gnupg
description: Creating GNUPGHOME if necessary
- link: - link:
~/.xinitrc: ~/.xinitrc:
path: .xinitrc path: .xinitrc