Skip to content

Commit

Permalink
changed install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fr00d committed Jan 20, 2017
1 parent 1e7b362 commit 2e1b036
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ upgrade_config_file () {
echo "#PATH=\${PATH}:FULL_PATH_TO_YOUR_DIR_CONTAINING_MYSQL:FULL_PATH_TO_YOUR_DIR_CONTAINING_MYSQLDUMP"
echo ""
echo "# Basic Settings"
echo ""
echo "# since mysql 5.6.x connections can be stored securely"
echo "# add your connection with"
echo "# mysql_config_editor set --login-path=automysqldump --host=localhost --user=root --password"
echo "# automysqldump is using the login-path "automysqldump" as default"
echo ""
echo "# Username to access the MySQL server e.g. dbuser"
if isSet USERNAME; then
Expand Down Expand Up @@ -479,8 +484,7 @@ echo
if echo $PATH | grep "${bindir}" >/dev/null 2>&1; then
printf "if you are running automysqlbackup under the same user as you run this install script,\nyou should be able to access it by running 'automysqlbackup' from the command line.\n"
printf "if not, you have to check if 'echo \$PATH' has ${bindir} in it\n"
printf "\nSetup Complete!\n"
else
printf "if running under the current user, you have to use the full path ${bindir}/automysqlbackup since /usr/local/bin is not in 'echo \$PATH'\n"
printf "\nSetup Complete!\n"
fi
printf "\nSetup Complete!\n"

0 comments on commit 2e1b036

Please sign in to comment.