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 300c504 commit 9d395b8Copy full SHA for 9d395b8
phpvm.sh
@@ -408,7 +408,7 @@ list_installed_versions() {
408
echo " system (Homebrew default PHP)"
409
;;
410
apt)
411
- dpkg-query -W -f='${Package}\n' | grep -E '^php[0-9]+\.[0-9]+' | sed 's/^php//;s/-.*$//' | awk '{print " "$1}'
+ dpkg-query -W -f='${Package}\n' | grep -E '^php[0-9]+\.[0-9]+' | sed 's/^php//' | awk '{print " "$1}'
412
echo " system (default system PHP)"
413
414
dnf | yum)
0 commit comments