Skip to content

Commit

Permalink
Modernize backticks
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Jan 12, 2024
1 parent 7c8a541 commit 9eb039b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/predeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ "$(grep -c swap /etc/fstab)" -eq "0" ]; then
fi

# Remove all PHP packages (they may well be PHP 7)
sudo apt-get -y purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "`
sudo apt-get -y purge $(dpkg -l | grep php| awk '{print $2}' |tr "\n" " ")

# Use repo for PHP 5.6.
sudo add-apt-repository -y ppa:ondrej/php
Expand Down

0 comments on commit 9eb039b

Please sign in to comment.