From 1d189dee13d9981e0ede40ba69284939dfdc4bd9 Mon Sep 17 00:00:00 2001 From: Senorsen Date: Mon, 9 Feb 2015 09:09:15 +0800 Subject: [PATCH] Fixed warning during installation on Fedora --- lib/version | 2 +- miscellaneous/zjunet-postinst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/version b/lib/version index f1d06c7..44c316c 100644 --- a/lib/version +++ b/lib/version @@ -1 +1 @@ -0.2.4-4 +0.2.4-5 diff --git a/miscellaneous/zjunet-postinst b/miscellaneous/zjunet-postinst index 76f5bc1..a1bb785 100755 --- a/miscellaneous/zjunet-postinst +++ b/miscellaneous/zjunet-postinst @@ -10,7 +10,7 @@ command -v apt-key 2>&1 >/dev/null && [ -d /etc/apt ] && { command -v rpm 2>&1 >/dev/null && [ -d /etc/pki/rpm-gpg ] && [ -d /etc/yum.repos.d ] && { cp /usr/share/zjunet/qsc.public.key /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66 chmod 644 /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66 - rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66 + rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66 2>&1 >/dev/null || true cp /usr/share/zjunet/qsc.repo /etc/yum.repos.d/qsc.repo || true echo "Added yum repo." }