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
commit f2d647a6e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

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

View File

@ -0,0 +1,3 @@
#!/usr/bin/with-contenv bash
apt-get update

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