Missing -p when creating root's gnupg dir.
This commit is contained in:
parent
db1e8bad49
commit
b69fd3b61c
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ PLATFORM="$(uname -s)"
|
||||||
if [[ "$PLATFORM" = "Linux" ]]; then
|
if [[ "$PLATFORM" = "Linux" ]]; then
|
||||||
# This is a hack to work around a problem with elogind/pam not creating
|
# This is a hack to work around a problem with elogind/pam not creating
|
||||||
# a gnupg directory under /run/user/0 for the gpg-agent socket.
|
# a gnupg directory under /run/user/0 for the gpg-agent socket.
|
||||||
(( $(id -u) == 0 )) && [[ -e "$HOME/.gnupg/S.gpg-agent" ]] && mkdir -m 700 /run/user/0/gnupg && ln -sf "$HOME/.gnupg/S.gpg-agent" /run/user/0/gnupg
|
(( $(id -u) == 0 )) && [[ -e "$HOME/.gnupg/S.gpg-agent" ]] && mkdir -m 700 -p /run/user/0/gnupg && ln -sf "$HOME/.gnupg/S.gpg-agent" /run/user/0/gnupg
|
||||||
export GPG_TTY="$(tty)" && gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1
|
export GPG_TTY="$(tty)" && gpg-connect-agent updatestartuptty /bye >/dev/null 2>&1
|
||||||
export I_WANT_A_BROKEN_PS=1
|
export I_WANT_A_BROKEN_PS=1
|
||||||
export LYNX_CFG="$HOME/.lynx.cfg"
|
export LYNX_CFG="$HOME/.lynx.cfg"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue