From 75d30bcb59e695fa33da6d0bde51fccd970bab08 Mon Sep 17 00:00:00 2001 From: Cyteen May Date: Wed, 19 Feb 2020 16:45:34 +0000 Subject: [PATCH] Add sources.list for liquorix kernel. --- 010_liquorix-kernel.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 010_liquorix-kernel.sh diff --git a/010_liquorix-kernel.sh b/010_liquorix-kernel.sh new file mode 100644 index 0000000..2e9e859 --- /dev/null +++ b/010_liquorix-kernel.sh @@ -0,0 +1,42 @@ +#!/usr/bin/env bash + +# https://liquorix.net +apt-get install -y apt-transport-https + +#codename="$(find /etc/apt -type f -name '*.list' | xargs grep -E '^deb' | awk '{print $3}' | grep -Eo '^[a-z]+' | sort | uniq -c | sort -n | tail -n1 | grep -Eo '[a-z]+$')" + +# codename: +# https://liquorix.net/debian/dists/ +#[DIR] bullseye/ 2020-02-15 14:04 - +#[DIR] buster/ 2020-02-15 14:04 - +#[DIR] oldstable/ 2020-02-15 14:04 - +#[DIR] sid/ 2020-02-15 14:04 - +#[DIR] stable/ 2020-02-15 14:04 - +#[DIR] stretch/ 2020-02-15 14:04 - +#[DIR] testing/ 2020-02-15 14:04 - +#[DIR] unstable/ 2020-02-15 14:04 - + +# stable == buster +# testing == bullseye +# unstable == sid +codename=testing + +cat > /etc/apt/sources.list-available/liquorix.list <