From 76c48ad7d91e2b43b4fd493de11cd7b689ebeca7 Mon Sep 17 00:00:00 2001 From: xpamych Date: Sat, 3 Dec 2022 15:25:18 +0300 Subject: [PATCH] 1 --- portproton/lure.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/portproton/lure.sh b/portproton/lure.sh index f5a2dce..a06c9c1 100644 --- a/portproton/lure.sh +++ b/portproton/lure.sh @@ -23,12 +23,19 @@ checksums=( 'SKIP' ) -scripts=( -['preinstall']='preinstall.sh' -) +#scripts=( +#['preinstall']='preinstall.sh' +#) prepare() { cd "${srcdir}" +if grep -q ID=debian "/etc/os-release"; then +sudo dpkg --add-architecture i386 +sudo apt-get install libvulkan1:i386 +sudo apt-get update +elif grep -q ID=fedora "/etc/os-release"; then +sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm +fi } package() {