mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-31 22:04:22 +01:00
added note to maybe use xmllint in the future
This commit is contained in:
@@ -211,6 +211,8 @@ xpath() {
|
|||||||
# the xpath tool changes in Big Sur and now requires the `-e` option
|
# the xpath tool changes in Big Sur and now requires the `-e` option
|
||||||
if [[ $(sw_vers -buildVersion) > "20A" ]]; then
|
if [[ $(sw_vers -buildVersion) > "20A" ]]; then
|
||||||
/usr/bin/xpath -e $@
|
/usr/bin/xpath -e $@
|
||||||
|
# alternative: switch to xmllint (which is not perl)
|
||||||
|
#xmllint --xpath $@ -
|
||||||
else
|
else
|
||||||
/usr/bin/xpath $@
|
/usr/bin/xpath $@
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user