Last active
August 29, 2015 14:01
-
-
Save rudisimo/bd5bfb777f9127a0af1b to your computer and use it in GitHub Desktop.
PHP 5.2 Downgrade Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Script to install PHP 5.2 from 9.10 on 10.04 | |
# And pin it so it does not get updated | |
for PKG in `dpkg -l | grep php | awk '{print $2}'` | |
do | |
echo "$PKG hold" | dpkg --set-selections | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment