-
-
Save Advanc8d/f1536115a72df3e6919ad0b7ad73621f to your computer and use it in GitHub Desktop.
Update MODX
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/bash | |
echo Please specify MODX version: | |
read version | |
echo Downloading MODX $version... | |
wget https://modx.com/download/direct?id=modx-$version-pl.zip | |
unzip direct\?id\=modx-$version-pl.zip && rm direct\?id\=modx-$version-pl.zip | |
cp -R modx-$version-pl/. public_html/ && rm -r modx-$version-pl/ | |
rm -r public_html/core/cache/* | |
echo Open http://your-site/setup to continue the installation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment