refactor(lib/install/install.sh): Use single bracket with quoted USER env variable

pull/123/head
Joseph Werle 5 years ago committed by Joseph Werle
parent 9d497908cd
commit 707863ee25

@ -384,7 +384,7 @@ bpkg_install_from_remote () {
fi
if [ -z "$PREFIX" ]; then
if [[ $USER == "root" ]]; then
if [ "$USER" == "root" ]; then
PREFIX="/usr/local"
else
PREFIX="$HOME/.local"

Loading…
Cancel
Save