Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR regarding bug #453 #454

Closed
wants to merge 1 commit into from
Closed

PR regarding bug #453 #454

wants to merge 1 commit into from

Conversation

shaief
Copy link
Contributor

@shaief shaief commented Apr 20, 2015

I reported this bug yesterday, and thought i should provide a pull request to fix it, so here it is.
I added a confirmation dialogue to verify that the user knows that their .bak file will be deleted in the process.
I also added a message to the user at the end of the script.

Thank you for writing and maintaining bash-it!

BACKUP_FILE=$CONFIG_FILE.bak

if [ -e $HOME/$BACKUP_FILE ]; then
echo "Backup file already exist. Make sure to backup your .bashrc before running this installation." >&2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be "exists" instead of "exist".

@nwinkler
Copy link
Member

Thanks for providing the PR, looks great! I've added some comments for a couple of minor things to fix/adjust.

@shaief
Copy link
Contributor Author

shaief commented Apr 21, 2015

Thanks a lot for commenting. I'll provide a fixed PR later.

@shaief
Copy link
Contributor Author

shaief commented Apr 22, 2015

I close this PR and submit a new one. Thanks!

@shaief shaief closed this Apr 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants