Skip to content

Commit

Permalink
Fix bash-funk installation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Aug 19, 2023
1 parent 62a9ec2 commit 516e578
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cygwin-portable-installer.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -395,12 +395,12 @@ echo Creating [%Init_sh%]...
echo echo "*******************************************************************************"
echo [[ -e /opt ]] ^|^| mkdir /opt
echo if hash git ^&^>/dev/null; then
echo git clone https://github.com/vegardit/bash-funk --branch master --single-branch --depth 1 --shallow-submodules /opt/bash-funk
echo git clone https://github.com/vegardit/bash-funk --branch main --single-branch --depth 1 --shallow-submodules /opt/bash-funk
echo elif hash svn ^&^>/dev/null; then
echo svn checkout https://github.com/vegardit/bash-funk/trunk /opt/bash-funk
echo else
echo mkdir /opt/bash-funk ^&^& \
echo wget -qO- --show-progress https://github.com/vegardit/bash-funk/tarball/master ^| /usr/bin/tar xzv -C /opt/bash-funk --strip-components 1
echo wget -qO- --show-progress https://github.com/vegardit/bash-funk/tarball/main ^| /usr/bin/tar xzv -C /opt/bash-funk --strip-components 1
echo fi
echo fi
)
Expand Down

0 comments on commit 516e578

Please sign in to comment.