4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00
This commit is contained in:
AlphaX-Projects 2023-01-23 08:44:33 +01:00
parent 095db324f1
commit d16abb61f2

View File

@ -21,6 +21,9 @@ if ! which curl; then sudo apt-get --yes install curl; fi
# Install apt repository source list if it does not exist
if ! grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* | grep qortal.list; then
curl -fsSL https://update.qortal.online/repo/qortal.gpg | sudo tee /usr/share/keyrings/qortal.gpg
curl -sS https://update.qortal.online/repo/qortal.gpg | sudo apt-key add -
sudo rm -rf /usr/share/keyrings/qortal.gpg
sudo apt-key export 7FB37C97 | sudo gpg --dearmour -o /usr/share/keyrings/qortal.gpg
sudo rm -rf /etc/apt/sources.list.d/qortal.list
echo 'deb [arch=amd64,arm64 signed-by=/usr/share/keyrings/qortal.gpg] https://update.qortal.online/repo/ ./ ' > /etc/apt/sources.list.d/qortal.list
fi