Merge pull request #244 from linuxserver/jellyfin-amd-apt

standardize apt-get
This commit is contained in:
aptalca
2021-09-21 14:38:35 -04:00
committed by GitHub
3 changed files with 10 additions and 3 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bash
if [ ! -f "/etc/apt/sources.list.d/kisak-mesa-focal.list" ]; then
echo "**** Adding kisak-mesa repo ****"
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F63F0F2B90935439
echo "deb http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu focal main" > /etc/apt/sources.list.d/kisak-mesa-focal.list
fi
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
apt-get update
-3
View File
@@ -19,8 +19,5 @@ done
if "$install"; then
echo "**** Installing mesa ****"
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F63F0F2B90935439
echo "deb http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu focal main" > /etc/apt/sources.list.d/kisak-mesa-focal.list
apt-get update
apt-get install -y $pkgs
fi