Skip to content

Commit

Permalink
update post-install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
georglauterbach committed May 20, 2024
1 parent 6e6a740 commit c5c4344
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions data/versioned/23.10/post_setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#! /usr/bin/env bash

log 'info' 'Running post-setup commands'

readonly DOAS_CONFIG_FILE='/etc/doas.conf'
if [[ ! -e ${DOAS_CONFIG_FILE} ]]; then
log 'debug' "Setting up 'doas'"
Expand Down
3 changes: 1 addition & 2 deletions data/versioned/24.04/post_setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#! /usr/bin/env bash

log 'info' 'Running post-setup commands'

readonly DOAS_CONFIG_FILE='/etc/doas.conf'
if [[ ! -e ${DOAS_CONFIG_FILE} ]]; then
log 'debug' "Setting up 'doas'"
Expand All @@ -20,6 +18,7 @@ mkdir -p "${HOME}/.gnupg"
touch "${HOME}/.gnupg/gpg-agent.conf"
if grep -v -q 'pinentry-program' "${HOME}/.gnupg/gpg-agent.conf"; then
echo 'pinentry-program /usr/bin/pinentry-curses' >>"${HOME}/.gnupg/gpg-agent.conf"
gpg-connect-agent reloadagent /bye
fi

# shellcheck disable=SC2154
Expand Down

0 comments on commit c5c4344

Please sign in to comment.