1
0
mirror of https://github.com/QSCTech/zjunet.git synced 2026-01-22 11:44:48 +08:00

Fixed warning during installation on Fedora

This commit is contained in:
Senorsen 2015-02-09 09:09:15 +08:00
parent 6c9f18e4ec
commit 1d189dee13
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0.2.4-4
0.2.4-5

View File

@ -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."
}