This commit is contained in:
Евгений Храмов 2022-12-03 15:25:18 +03:00
parent 91d45a3150
commit 76c48ad7d9

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