Commit 43a3eaf6 authored by morph027's avatar morph027

add debian mirror

parent 5d467810
Pipeline #36127470 passed with stages
in 42 seconds
......@@ -2,13 +2,14 @@
Mirror of my [repo](https://repo.morph027.de/).
## Add repo to apt
## Repos
```bash
echo "deb [arch=amd64] https://packaging.gitlab.io/repo/repo.morph027.de/ubuntu $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/morph027-ubuntu.list
```
### Available repos
* Ubuntu (Bionic)
* Debian (Stretch)
## Add key to apt
### Add repo signing key to apt
```bash
wget -q -O - https://packaging.gitlab.io/repo/repo.morph027.de/gpg.key | sudo apt-key add -
......@@ -18,4 +19,17 @@ or
```bash
curl -sL https://packaging.gitlab.io/repo/gpg.key | sudo apt-key add -
```
### Add repo to apt
```bash
# echo "deb [arch=amd64] https://packaging.gitlab.io/repo/repo.morph027.de/<available repo> <available repo distribution> main" | sudo tee /etc/apt/sources.list.d/morph027-<available repo>.list
```
Examples:
```bash
REPO=ubuntu-bionic; echo "deb [arch=amd64] https://packaging.gitlab.io/repo/repo.morph027.de/${REPO%%-*} ${REPO##*-} main" | sudo tee /etc/apt/sources.list.d/morph027-${REPO}.list
REPO=debian-stretch; echo "deb [arch=amd64] https://packaging.gitlab.io/repo/repo.morph027.de/${REPO%%-*} ${REPO##*-} main" | sudo tee /etc/apt/sources.list.d/morph027-${REPO}.list
```
\ No newline at end of file
......@@ -14,4 +14,5 @@ set _tilde 0
#
############# end config ##############
deb [arch=amd64] https://repo.morph027.de/mirror/ubuntu bionic main
\ No newline at end of file
deb [arch=amd64] https://repo.morph027.de/mirror/ubuntu bionic main
deb [arch=amd64] https://repo.morph027.de/mirror/debian stretch main
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment