read USER env var instead of static name

This commit is contained in:
mollusk 2020-10-24 21:48:18 -07:00
parent 94c4647378
commit f4149ccf2b

View File

@ -106,10 +106,10 @@ sign_pkgs(){
gen_key gen_key
echo "Signing xbps files in ${REPO_PATH}" echo "Signing xbps files in ${REPO_PATH}"
xbps-rindex --sign --signedby "mollusk" --privkey "${KEY_PATH}" "$REPO_PATH" xbps-rindex --sign --signedby "${USER}" --privkey "${KEY_PATH}" "$REPO_PATH"
else else
echo "Signing xbps files in ${REPO_PATH}" echo "Signing xbps files in ${REPO_PATH}"
xbps-rindex --sign --signedby "mollusk" --privkey "${KEY_PATH}" "$REPO_PATH" xbps-rindex --sign --signedby "${USER}" --privkey "${KEY_PATH}" "$REPO_PATH"
fi fi
} }