1
0
mirror of https://github.com/arkenfox/user.js.git synced 2025-07-05 13:01:58 +02:00

Update updater.sh

This commit is contained in:
earthlng
2017-11-25 14:37:25 +01:00
committed by GitHub
parent 2c1e4ae542
commit 41a55ad5f2

@ -10,8 +10,8 @@ echo -e "\nThis script should be run from your Firefox profile directory.\n"
currdir=$(pwd) currdir=$(pwd)
## get the full path of this script (readlink for Linux) ## get the full path of this script (readlink for Linux, greadlink for Mac with coreutils installed, fallback otherwise)
scriptfullpath=$(readlink -f "${BASH_SOURCE[0]}" 2>/dev/null || "${BASH_SOURCE[0]}") scriptfullpath=$(readlink -f "${BASH_SOURCE[0]}" 2>/dev/null || greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null || "${BASH_SOURCE[0]}")
## change directory to the Firefox profile directory ## change directory to the Firefox profile directory
cd "$(dirname "${scriptfullpath}")" cd "$(dirname "${scriptfullpath}")"