From e2f018bc21e7cce245661d14a743b5f4f60cb3de Mon Sep 17 00:00:00 2001 From: Botspot Date: Sun, 25 Jul 2021 09:26:44 -0500 Subject: [PATCH] gui: add emergency fix for mcpi repo --- gui | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gui b/gui index c574f84..49fbbb6 100755 --- a/gui +++ b/gui @@ -93,6 +93,13 @@ runonce <<"EOF" fi EOF +#remove old mcpi repo +runonce <<"EOF" + if [ -f /etc/apt/sources.list.d/mcpi-revival.list ] && [ "$(cat /etc/apt/sources.list.d/mcpi-revival.list)" == 'deb [trusted=yes] https://mcpirevival.tk/mcpi-packages buster main' ];then + echo 'deb [trusted=yes] https://mcpi-revival.github.io/mcpi-packages/ buster main' | sudo tee /etc/apt/sources.list.d/mcpi-revival.list + fi +EOF + install() { app="$1" #one app name per line