forked from CastroFidel/PortWINE
hotfix: PP don't open on some systems
This commit is contained in:
parent
ecb4dc9934
commit
48c8120ac7
@ -1281,7 +1281,7 @@ pw_init_db () {
|
|||||||
# shellcheck source=/dev/null
|
# shellcheck source=/dev/null
|
||||||
source "${PORTWINE_DB_FILE}"
|
source "${PORTWINE_DB_FILE}"
|
||||||
if [[ -f "${PW_FIND_DB_FILE}" ]] \
|
if [[ -f "${PW_FIND_DB_FILE}" ]] \
|
||||||
&& [[ "${PW_DISABLED_CREATE_DB}" != 1 ]] \
|
&& [[ "${PW_DISABLED_CREATE_DB}" != 1 ]]
|
||||||
then
|
then
|
||||||
try_copy_file "${PW_FIND_DB_FILE}" "${portwine_exe}".ppdb
|
try_copy_file "${PW_FIND_DB_FILE}" "${portwine_exe}".ppdb
|
||||||
PORTWINE_DB_FILE="${portwine_exe}".ppdb
|
PORTWINE_DB_FILE="${portwine_exe}".ppdb
|
||||||
|
Loading…
Reference in New Issue
Block a user