test: no unicode in pass activation
This commit is contained in:
parent
3a0dbcca71
commit
43e6ca3e99
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@
|
|||
# Activation: ensure GPG key is available
|
||||
# This is a best-effort setup that downloads from forgejo if needed
|
||||
home.activation.passSetup = {
|
||||
data = builtins.toFile "pass-setup.sh" ''
|
||||
data = ''
|
||||
# 1. Check if GPG has any keys
|
||||
if ! gpg --list-secret-keys mikl@iscg.dev >/dev/null 2>&1; then
|
||||
echo "WARNING: GPG key for mikl@iscg.dev not found."
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
echo " rm -rf /tmp/gpg-setup"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
||||
# 2. Initialize pass git remote if needed
|
||||
if [ ! -d "$HOME/.password-store/.git" ] && [ -d "$HOME/.password-store" ]; then
|
||||
cd "$HOME/.password-store"
|
||||
|
|
|
|||
Loading…
Reference in a new issue