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() {