This commit is contained in:
gfdgd_xi 2023-02-19 19:08:39 +08:00
parent ca44018c55
commit eb0d909cb6
4 changed files with 21 additions and 0 deletions

1
sources/github.list Executable file
View File

@ -0,0 +1 @@
deb https://gfdgd-xi.github.io/gfdgd-xi-apt-mirrors/ ./

9
sources/github.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
mkdir -p /tmp/gfdgd-xi-sources
wget -P /tmp/gfdgd-xi-sources https://gfdgd-xi.github.io/gfdgd-xi-apt-mirrors/gpg.asc
wget -P /tmp/gfdgd-xi-sources https://gfdgd-xi.github.io/gfdgd-xi-apt-mirrors/sources/github.list
gpg --dearmor /tmp/gfdgd-xi-sources/gpg.asc
#sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FD6EEA1F20CD4B27
sudo cp -v /tmp/gfdgd-xi-sources/gpg.asc.gpg /etc/apt/trusted.gpg.d/gfdgdxi-list.gpg
sudo cp -v /tmp/gfdgd-xi-sources/github.list /etc/apt/sources.list.d/gfdgdxi-list.list
sudo apt update

2
sources/gitlink.list Executable file
View File

@ -0,0 +1,2 @@
deb https://code.gitlink.org.cn/gfdgd-xi-org/uengine-apt-root/raw/branch/master/ ./
deb https://code.gitlink.org.cn/gfdgd-xi-org/uengine-apt-root/raw/branch/master/ ./

9
sources/gitlink.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
mkdir -p /tmp/gfdgd-xi-sources
wget -P /tmp/gfdgd-xi-sources https://code.gitlink.org.cn/gfdgd-xi-org/apt-packages-program/raw/branch/master/gpg.asc
wget -P /tmp/gfdgd-xi-sources https://code.gitlink.org.cn/gfdgd-xi-org/apt-packages-program/raw/branch/master/sources/gitlink.list
gpg --dearmor /tmp/gfdgd-xi-sources/gpg.asc
#sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FD6EEA1F20CD4B27
sudo cp -v /tmp/gfdgd-xi-sources/gpg.asc.gpg /etc/apt/trusted.gpg.d/gfdgdxi-list-apt.gpg
sudo cp -v /tmp/gfdgd-xi-sources/gitlink.list /etc/apt/sources.list.d/gfdgdxi-list-apt.list
sudo apt update