Skip to content

Instantly share code, notes, and snippets.

@janxb
Created December 17, 2017 00:20
Show Gist options
  • Save janxb/e26e5c2aa17872cca8aabfce3b76f2bf to your computer and use it in GitHub Desktop.
Save janxb/e26e5c2aa17872cca8aabfce3b76f2bf to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
apt-get install $(dpkg -l | grep php7.1- | awk '{print $2}' | sed -e 's/7.1/7.2/g')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment