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 | |
#Config this according to your needs, all variables are currently mandatory | |
#------------------------------------------------------------------------------- | |
#Your local main dev domain | |
MAIN_DOMAIN_NAME=".ls-boellmann.local" | |
#Path to cert apache uses | |
CERT_PATH="/usr/local/etc/apache2/2.4/crt/boellmann_dev_local.crt" | |
#Path to key apache uses | |
KEY_PATH="/usr/local/etc/apache2/2.4/crt/Julius_dev_local_neu.pem" |
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 | |
# Creator:Julius Boellmann | |
# Email: jb@converia.de | |
brew_prefix=$(brew --prefix | sed 's#/#\\\/#g') | |
brew_array=("10.1" "latest") | |
found=0 | |
for i in "${brew_array[@]}" | |
do | |
if [[ "$i" == "$1" ]] |