From 1a50373b6c3a4e3792424f6e61e5bea023dbd693 Mon Sep 17 00:00:00 2001 From: Botspot Date: Tue, 31 Aug 2021 22:38:04 -0500 Subject: [PATCH] Box86: purge box86 package first --- apps/Box86/install-32 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/Box86/install-32 b/apps/Box86/install-32 index a4d3d1a..7413b02 100755 --- a/apps/Box86/install-32 +++ b/apps/Box86/install-32 @@ -7,6 +7,10 @@ function error { exit 1 } +if dpkg -l box86 &>/dev/null ;then + sudo apt purge -y box86 +fi + sudo rm -f /etc/apt/sources.list.d/box86.list echo "Adding box86 repo..." sudo wget https://itai-nelken.github.io/weekly-box86-debs/debian/box86.list -O /etc/apt/sources.list.d/box86.list || error "Failed to download /etc/apt/sources.list.d/box86.list"