hotfix: PP don't open on some systems

This commit is contained in:
Llein
2024-07-12 18:20:25 +03:00
committed by GitHub
parent ecb4dc9934
commit 48c8120ac7

View File

@ -1281,7 +1281,7 @@ pw_init_db () {
# shellcheck source=/dev/null
source "${PORTWINE_DB_FILE}"
if [[ -f "${PW_FIND_DB_FILE}" ]] \
&& [[ "${PW_DISABLED_CREATE_DB}" != 1 ]] \
&& [[ "${PW_DISABLED_CREATE_DB}" != 1 ]]
then
try_copy_file "${PW_FIND_DB_FILE}" "${portwine_exe}".ppdb
PORTWINE_DB_FILE="${portwine_exe}".ppdb