[BUG] Tips and Tricks -> install-profile
darsh12 opened this issue · comments
darsh12 commented
Hi,
I have been using an old script of the install-profile, however once I updated the install-profile script, the script broke.
The script initially assumes that the dotbot is located in the meta
folder. But once we progress in the script, the git submodule commands are looking for the dotbot
dir to update.
As shown in the image, first we cd
to the base directory, and the git submodule
is looking for the dotbot
directory in the base directory which does not exist because it is in the meta/dotbot
dir.
fix
1
git -C "${BASE_DIR}" submodule sync --quiet --recursive
git submodule update --init --recursive "${BASE_DIR}"
2
git -C "${META_DIR}/${DOTBOT_DIR}" submodule sync --quiet --recursive
git submodule update --init --recursive "${META_DIR}/${DOTBOT_DIR}"
Anish Athalye commented
Nice catch! Anyone is allowed to modify the wiki. Would you like to make your corrections directly?
darsh12 commented
Thanks, I just edited the wiki with fix 1.