Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
#154: Use the local dependency install script in development
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenrombauts committed Aug 26, 2019
1 parent 5fafb3a commit 0a68a5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,12 @@ sub_checksource() {
echo -e "\033[33mOlder versions of PHP require extra dependencies.\e[0m"
echo -e "Please wait while we set up all build dependencies. This can take a couple of minutes .. \n"

CMD="wget -nv https://developer.joomlatools.com/vagrant/phpmanager/dependencies -O /tmp/install-phpmanager-dependencies.sh"
if [[ -f "/vagrant/shell/install-phpmanager-dependencies.sh" ]] ; then
CMD="cp /vagrant/shell/install-phpmanager-dependencies.sh /tmp/install-phpmanager-dependencies.sh"
else
CMD="wget -nv https://developer.joomlatools.com/vagrant/phpmanager/dependencies -O /tmp/install-phpmanager-dependencies.sh"
fi

This comment has been minimized.

Copy link
@yiendos

yiendos Aug 27, 2019

Member

@stevenrombauts oh yes, that looks the fella! Top stuff

sub_execute "$CMD" "download" "/tmp/install-phpmanager-dependencies.log" "Downloading install script"

chmod +x /tmp/install-phpmanager-dependencies.sh
Expand Down

0 comments on commit 0a68a5d

Please sign in to comment.