Update updater.sh

This commit is contained in:
overdodactyl 2017-11-24 21:00:18 +00:00 committed by GitHub
parent 63b924f101
commit 4c0ea6a24e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@ echo -e "\nThis script should be run from your Firefox profile directory.\n"
currdir=$(pwd)
## get the full path of this script (greadlink for Mac, readlink for Linux)
## greadlink is dependent on the package coreutils: brew install coreutils
scriptfullpath=$(greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null || readlink -f "${BASH_SOURCE[0]}")
## change directory to the Firefox profile directory