Skip to content

Instantly share code, notes, and snippets.

@jeroenvermeulen
Created June 7, 2017 12:40
Show Gist options
  • Save jeroenvermeulen/1e85d4fa0f97f9522c8d977cc1375303 to your computer and use it in GitHub Desktop.
Save jeroenvermeulen/1e85d4fa0f97f9522c8d977cc1375303 to your computer and use it in GitHub Desktop.
#
# Copyright 2017 MageHost.pro
#
cd ~/httpdocs
test -d .git && { git add -A; git commit -a -m 'Uncommitted changes on server'; }
test -d .modman || modman init
modman clone --copy --force https://github.com/Inchoo/Inchoo_PHP7 -b 1.9.2.4
n98-magerun.phar cache:clean
test -d .git && { git add -A; git commit -a -m 'Installed Inchoo_PHP7 via modman'; }
wget https://gist.githubusercontent.com/renttek/29beaaa1e90909639501/raw/be5df0b33b72cdc2ab037d374802c53ccba066df/0001-BUGIFX-Magento-Zend-Framework-1-PHP5.6.patch
patch -p1 < 0001-BUGIFX-Magento-Zend-Framework-1-PHP5.6.patch
rm 0001-BUGIFX-Magento-Zend-Framework-1-PHP5.6.patch
test -d .git && { git add -A; git commit -a -m 'Executed 0001-BUGIFX-Magento-Zend-Framework-1-PHP5.6.patch'; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment