mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Merge pull request #244 from linuxserver/jellyfin-amd-apt
standardize apt-get
This commit is contained in:
commit
f2d647a6e2
7
root/etc/cont-init.d/94-mesa-repo
Normal file
7
root/etc/cont-init.d/94-mesa-repo
Normal 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
root/etc/cont-init.d/95-apt-get
Normal file
3
root/etc/cont-init.d/95-apt-get
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
apt-get update
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user