add warning about double boot
This commit is contained in:
parent
9032eeecd2
commit
040aa090d8
@ -8,7 +8,7 @@ function zshlibs_update()
|
||||
pushd $zshlibs_install 2>&1 > /dev/null
|
||||
zshlibs_log zlibs_update "git pull …"
|
||||
(
|
||||
git pull 2>&1 |zshlibs_log zlibs_update & # > "${HOME}/.log/z_zshlibs_update" &
|
||||
git pull 2>&1 |zshlibs_log zlibs_update &
|
||||
)
|
||||
zshlibs_log zlibs_update "update done"
|
||||
popd 2>&1 > /dev/null
|
||||
@ -21,9 +21,15 @@ function zshlibs_update()
|
||||
|
||||
function zshlibs_boot()
|
||||
{
|
||||
# ensure log directory
|
||||
typeset -g zshlibs_bootlevel
|
||||
if [[ $zshlibs_bootlevel -gt 1 ]]
|
||||
then
|
||||
echo "You are likely doing double bootstrap"
|
||||
fi
|
||||
zshlibs_bootlevel=0
|
||||
zshlibs_log zbootstrap "ensure directory '${HOME}/.log/'"
|
||||
zshlibs_ensure -d "${HOME}/.log/"
|
||||
zshlibs_bootlevel=2
|
||||
}
|
||||
|
||||
function zshlibs_ensure()
|
||||
|
Loading…
Reference in New Issue
Block a user