mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-11 16:42:34 -06:00
Don't try to import the signing key. YUM/RPM will do that for us, per Devrim.
This commit is contained in:
parent
09b76b306c
commit
bda62cb1f1
@ -88,9 +88,6 @@ EOF
|
|||||||
if [ ${INCLUDE_KEY} -eq 1 ]; then
|
if [ ${INCLUDE_KEY} -eq 1 ]; then
|
||||||
cat << EOF >> ${BUILDROOT}/${DISTRO}-repo.spec
|
cat << EOF >> ${BUILDROOT}/${DISTRO}-repo.spec
|
||||||
/etc/pki/rpm-gpg/PGADMIN_PKG_KEY
|
/etc/pki/rpm-gpg/PGADMIN_PKG_KEY
|
||||||
|
|
||||||
%post
|
|
||||||
rpm --import /etc/pki/rpm-gpg/PGADMIN_PKG_KEY
|
|
||||||
EOF
|
EOF
|
||||||
test -d ${BUILDROOT}/${DISTRO}-repo/etc/pki/rpm-gpg || mkdir -p ${BUILDROOT}/${DISTRO}-repo/etc/pki/rpm-gpg
|
test -d ${BUILDROOT}/${DISTRO}-repo/etc/pki/rpm-gpg || mkdir -p ${BUILDROOT}/${DISTRO}-repo/etc/pki/rpm-gpg
|
||||||
cp pkg/redhat/PGADMIN_PKG_KEY ${BUILDROOT}/${DISTRO}-repo/etc/pki/rpm-gpg/
|
cp pkg/redhat/PGADMIN_PKG_KEY ${BUILDROOT}/${DISTRO}-repo/etc/pki/rpm-gpg/
|
||||||
|
Loading…
Reference in New Issue
Block a user