We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eebc25e commit a3b17baCopy full SHA for a3b17ba
.scripts/pm_zypper_install.sh
@@ -48,9 +48,9 @@ detect_packages() {
48
49
local RegEx_XML='name="([A-Za-z0-9_-]*)"'
50
51
- local Command='zypper -x search -f --provides "${DepsSearch}"'
+ local Command="zypper -x search -f --provides \"${DepsSearch}\""
52
notice "Running: ${C["RunningCommand"]}${Command}${NC}"
53
- eval "${Command}" 2> /dev/null | while IFS= read -r line; do
+ eval ${Command} 2> /dev/null | while IFS= read -r line; do
54
if [[ ${line} =~ ${RegEx_XML} ]]; then
55
local Package="${BASH_REMATCH[1]}"
56
if [[ ! ${Package} =~ ${RegEx_Package_Blacklist} ]]; then
0 commit comments