Browse Source

Debian: fix --no-install for DXVK

master
Pekka Helenius 4 years ago
parent
commit
d413d1630a
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      debian/dxvkroot/dxvkbuild.sh

+ 7
- 3
debian/dxvkroot/dxvkbuild.sh View File

@ -589,10 +589,14 @@ function compile_and_install_deb() {
bash -c "${_pkg_debbuilder}"
# Once our deb package is compiled, install and store it
# We do not make installation optional because this is a core dependency for DXVK
# We do not make installation optional for deps because they are required by DXVK
if [[ $? -eq 0 ]]; then
rm -rf ../*.{changes,buildinfo,tar.xz} && \
sudo dpkg -i ../${_pkg_name}*.deb && \
rm -rf ../*.{changes,buildinfo,tar.xz}
if [[ "${_pkg_name}" == *"dxvk"* ]] && [[ ! -v NO_INSTALL ]]; then
sudo dpkg -i ../${_pkg_name}*.deb
elif [[ "${_pkg_name}" != *"dxvk"* ]]; then
sudo dpkg -i ../${_pkg_name}*.deb
fi
mv ../${_pkg_name}*.deb ../../../compiled_deb/"${datedir}" && \
echo -e "Compiled ${_pkg_name} is stored at '$(readlink -f ../../../compiled_deb/"${datedir}")/'\n"
cd ../..


Loading…
Cancel
Save