diff --git a/bin/mailhog.sh b/bin/mailhog.sh index 88d2f64..d605312 100644 --- a/bin/mailhog.sh +++ b/bin/mailhog.sh @@ -5,10 +5,10 @@ echo "Installing MailHog" mkdir /run/gocode echo "export GOPATH=/run/gocode" >> ~/.profile source ~/.profile -go get github.com/mailhog/MailHog -go get github.com/mailhog/mhsendmail -cp /run/gocode/bin/MailHog /usr/local/bin/mailhog@latest -cp /run/gocode/bin/mhsendmail /usr/local/bin/mhsendmail@latest +go install github.com/mailhog/MailHog@latest +go install github.com/mailhog/mhsendmail@latest +cp /run/gocode/bin/MailHog /usr/local/bin/mailhog +cp /run/gocode/bin/mhsendmail /usr/local/bin/mhsendmail # Configure Sendmail for PHP echo "sendmail_path=/usr/local/bin/mhsendmail" >> /etc/php/8.1/apache2/conf.d/user.ini service apache2 restart diff --git a/linux/scripts/os/sitedrop.sh b/linux/scripts/os/sitedrop.sh index 5ad501c..2490812 100644 --- a/linux/scripts/os/sitedrop.sh +++ b/linux/scripts/os/sitedrop.sh @@ -2,15 +2,7 @@ SITE_NAME=$1 VM_NAME=wp-local-env - -VM_DATA=$( multipass info --format json wp-local-env ) -read -r -d '' JXA <