This commit is contained in:
claustromaniac 2018-11-22 05:41:30 +00:00 committed by GitHub
parent 0c824af8d2
commit ad5426111c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ set_wd () {
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
firefox_dir=~/.mozilla/firefox/ firefox_dir=~/.mozilla/firefox/
else else
echo -e ${RED}"Error: Sorry, -l is not suppported for your OS"${NC} echo -e ${RED}"Error: Sorry, -l is not supported for your OS"${NC}
exit 1 exit 1
fi fi
echo -e ${GREEN}"The following profiles were found:\n"${ORANGE} echo -e ${GREEN}"The following profiles were found:\n"${ORANGE}
@ -106,7 +106,7 @@ legacy_argument () {
} }
######################### #########################
# File Handeling # # File Handling #
######################### #########################
# Download method priority: curl -> wget -> perl # Download method priority: curl -> wget -> perl
@ -333,7 +333,7 @@ create_diff () {
if [ $# != 0 ]; then if [ $# != 0 ]; then
legacy_lc="$(echo $1 | tr '[A-Z]' '[a-z]')" legacy_lc="$(echo $1 | tr '[A-Z]' '[a-z]')"
# Display usage if first arguement is -help or --help # Display usage if first argument is -help or --help
if [ $1 = "--help" ] || [ $1 = "-help" ]; then if [ $1 = "--help" ] || [ $1 = "-help" ]; then
usage usage
elif [ $legacy_lc = "-donotupdate" ]; then elif [ $legacy_lc = "-donotupdate" ]; then