mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Attempt to append signing macros to the non-root users config.
This commit is contained in:
parent
37e39ca089
commit
f0d077fed8
@ -34,7 +34,7 @@ fi
|
||||
read -p "Do you want to append RPM macros for signing packages to ~/.rpmmacros (y/n)? " RESPONSE
|
||||
case ${RESPONSE} in
|
||||
y|Y )
|
||||
cat << EOF >> ~/.rpmmacros
|
||||
cat << EOF >> ~$USER/.rpmmacros
|
||||
# Macros for signing RPMs.
|
||||
# Added by the pgAdmin 4 build environment setup script at the users request.
|
||||
|
||||
@ -44,6 +44,7 @@ case ${RESPONSE} in
|
||||
%_gpgbin /usr/bin/gpg2
|
||||
%__gpg_sign_cmd %{__gpg} gpg --force-v3-sigs --batch --verbose --no-armor --passphrase-fd 3 --no-secmem-warning -u "%{_gpg_name}" -sbo %{__signature_filename} --digest-algo sha256 %{__plaintext_filename}'
|
||||
EOF
|
||||
echo "RPM macros for signing appended to ~$USER/.rpmmacros."
|
||||
;;
|
||||
* )
|
||||
exit 1;;
|
||||
|
Loading…
Reference in New Issue
Block a user