install.sh: correcty typo in extensions directory check

This commit is contained in:
Alexandre CATTEAU 2022-03-14 19:52:16 +01:00
parent 72048f8180
commit 966b0f1d44

View File

@ -3,7 +3,7 @@
run_directory=$(dirname "$0")
user=$(whoami)
if [ -d /home/$user/.bashrc.d ]; then
if [ ! -d /home/$user/.bashrc.d ]; then
echo "~/.bashrc.d does not exist. Creating it..."
mkdir /home/$user/.bashrc.d
fi