mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 19:54:48 +08:00
Fixed warning during installation on Fedora
This commit is contained in:
parent
6c9f18e4ec
commit
1d189dee13
@ -1 +1 @@
|
|||||||
0.2.4-4
|
0.2.4-5
|
||||||
|
|||||||
@ -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 ] && {
|
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
|
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
|
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
|
cp /usr/share/zjunet/qsc.repo /etc/yum.repos.d/qsc.repo || true
|
||||||
echo "Added yum repo."
|
echo "Added yum repo."
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user