Skip to content

Commit

Permalink
Merge pull request #1 from slushpuppy/slushpuppy-patch-1
Browse files Browse the repository at this point in the history
Update setup_frappe.sh
  • Loading branch information
slushpuppy authored Jun 24, 2016
2 parents df410c5 + 8622320 commit 4eadc46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install_scripts/setup_frappe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ add_debian_mariadb_repo() {
run_cmd sudo apt-get update
run_cmd sudo apt-get install -y software-properties-common python-software-properties
run_cmd sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
if [ -z $(apt-cache search --names-only 'mariadb-server') ]; then
$repo_test=$(apt-cache search --names-only 'mariadb-server')
if [ -z "$repo_test" ]; then
run_cmd sudo add-apt-repository "deb http://ams2.mirrors.digitalocean.com/mariadb/repo/10.0/debian $CODENAME main"
fi
}
Expand Down

0 comments on commit 4eadc46

Please sign in to comment.