Compare commits

..

No commits in common. "c9a945559d51b2cb5f69eabca993ed4a5025a1d3" and "fb1ae514b3ebcae38f337fc3ea3c145029566824" have entirely different histories.

View file

@ -7,27 +7,22 @@ global_ignore=(
'README\.md' 'README\.md'
'\.editorconfig' '\.editorconfig'
'\.stow-no-folding' '\.stow-no-folding'
'\.stow-rename'
'\.mypy_cache' '\.mypy_cache'
'\..*\.swp' '\..*\.swp'
) )
supported_stow_versions=(
2.3.2-fixbug56727
)
bootstrap() { bootstrap() {
echo 'Bootstrapping your dotfiles...' >&2 echo 'Bootstrapping your dotfiles...' >&2
mkdir -p $DOTFILES mkdir -p $DOTFILES
touch $DOTFILES/.stow touch $DOTFILES/.stow
if (( $+commands[stow] )); then if (( $+commands[stow] )); then
local stow_version=${"$(stow -V)"#stow*version } local stow_version=${"$(stow -V)"#stow*version }
if (( 0 == $supported_stow_versions[(Ie)$stow_version] )); then if [[ $stow_version != 2.3.2-fixbug56727 ]]; then
echo "GNU Stow is installed, but version $stow_version is bugged." >&2 echo "GNU Stow is installed, but version $stow_version is bugged." >&2
echo 'See https://github.com/aspiers/stow/issues/33 for info.' >&2 echo 'See https://github.com/aspiers/stow/issues/33 for info.' >&2
echo 'Will fetch patched version of Stow...' >&2 echo 'Will fetch patched version of Stow...' >&2
install-custom-gnu-stow || return $? install-custom-gnu-stow || return $?
else
echo "GNU Stow version $stow_version is installed and is compatible with dots." >&2
fi fi
else else
echo 'GNU Stow is not installed, fetching it...' >&2 echo 'GNU Stow is not installed, fetching it...' >&2