install.sh: exit if cd PROFILEFOLDER fails
This commit is contained in:
parent
4c1dea301f
commit
46fc050d80
|
@ -23,7 +23,11 @@ if test -z "$PROFILENAME"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enter Firefox profile folder.
|
# Enter Firefox profile folder.
|
||||||
cd $PROFILEFOLDER
|
if ! cd $PROFILEFOLDER ; then
|
||||||
|
echo "Error entering profile folder."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installing theme in $PWD"
|
echo "Installing theme in $PWD"
|
||||||
|
|
||||||
# Create a chrome directory if it doesn't exist.
|
# Create a chrome directory if it doesn't exist.
|
||||||
|
|
Loading…
Reference in New Issue