Skip to content

Commit 9d395b8

Browse files
ThavarshanCopilot
andauthored
Update phpvm.sh
Co-authored-by: Copilot <[email protected]>
1 parent 300c504 commit 9d395b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpvm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ list_installed_versions() {
408408
echo " system (Homebrew default PHP)"
409409
;;
410410
apt)
411-
dpkg-query -W -f='${Package}\n' | grep -E '^php[0-9]+\.[0-9]+' | sed 's/^php//;s/-.*$//' | awk '{print " "$1}'
411+
dpkg-query -W -f='${Package}\n' | grep -E '^php[0-9]+\.[0-9]+' | sed 's/^php//' | awk '{print " "$1}'
412412
echo " system (default system PHP)"
413413
;;
414414
dnf | yum)

0 commit comments

Comments
 (0)