mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-17 16:35:47 -04:00
standardize apt-get
This commit is contained in:
@@ -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
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
apt-get update
|
||||||
@@ -19,8 +19,5 @@ done
|
|||||||
|
|
||||||
if "$install"; then
|
if "$install"; then
|
||||||
echo "**** Installing mesa ****"
|
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
|
apt-get install -y $pkgs
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user