Unverified Commit 48c8120a authored by Llein's avatar Llein Committed by GitHub

hotfix: PP don't open on some systems

parent ecb4dc99
...@@ -1281,7 +1281,7 @@ pw_init_db () { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment