Commit 78c77a18 authored by Mikhail Tergoev's avatar Mikhail Tergoev

Merge branch 'pcmanfm' of github.com:Boria138/PortWINE into Boria138-pcmanfm

parents c5e52c0e 4e4121a7
...@@ -77,6 +77,12 @@ if [[ ${1,,} == "cli" ]] ; then ...@@ -77,6 +77,12 @@ if [[ ${1,,} == "cli" ]] ; then
fi fi
check_variables PW_CLI "0" check_variables PW_CLI "0"
if [[ "${1:-}" == file://* ]] ; then
pw_file_path="${1#file://}"
pw_file_path="${pw_file_path//%20/ }"
set -- "${pw_file_path}" "${@:2}"
fi
if [[ "${1,,}" =~ \.ppack$ ]] ; then if [[ "${1,,}" =~ \.ppack$ ]] ; then
export PW_NO_RESTART_PPDB="1" export PW_NO_RESTART_PPDB="1"
export PW_DISABLED_CREATE_DB="1" export PW_DISABLED_CREATE_DB="1"
......
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