From 7a90ae65570884036be37ff55bac1a3b98d7a70b Mon Sep 17 00:00:00 2001 From: Cypelt <38440086+n3amil@users.noreply.github.com> Date: Sat, 14 Mar 2020 00:55:54 +0100 Subject: [PATCH] fix no gpg check flag for zypper install set the gpg flag for no gpg check as described in the manual page of zypper: Repository Options: --no-gpg-checks Ignore GPG check failures and continue. If a GPG issue occurs when using this option zypper prints and logs a warning and automatically continues without interrupting the operation. Use this option with caution, as you can easily overlook security problems by using it. (see section GPG checks) + --- spotify-easyrpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotify-easyrpm b/spotify-easyrpm index 7faa7b0..08f1829 100755 --- a/spotify-easyrpm +++ b/spotify-easyrpm @@ -446,7 +446,7 @@ fi f_rpm_install() { echo "Installing ${V_PKGNAME}-${V_DEB_VER}" -if ! sudo zypper --non-interactive --no-gpg-check in "${V_RPMS_DIR}"/"${V_RPM_ARCH}"/"${V_PKGNAME}"-"${V_DEB_VER}"*"${V_RPM_ARCH}".rpm; then +if ! sudo zypper --non-interactive --no-gpg-checks in "${V_RPMS_DIR}"/"${V_RPM_ARCH}"/"${V_PKGNAME}"-"${V_DEB_VER}"*"${V_RPM_ARCH}".rpm; then f_error "Failed to install ${V_PKGNAME}-${V_DEB_VER}" fi }