Compare commits
1 Commits
3afb8761d4
...
940b7b3efe
| Author | SHA1 | Date | |
|---|---|---|---|
| 940b7b3efe |
@@ -158,7 +158,12 @@ function install_fish() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
local current_version=$(fish --version | cut -d " " -f 3)
|
local current_version=$(fish --version | cut -d " " -f 3)
|
||||||
if [ $(echo "${current_version}\n3.4.0" | sort | head -1) != "3.4.0" ]
|
local current_version_test=$(cat <<EOF
|
||||||
|
${current_version}
|
||||||
|
3.4.0
|
||||||
|
EOF
|
||||||
|
)
|
||||||
|
if [ $(echo "${current_version_test}" | sort | head -1) != "3.4.0" ]
|
||||||
then
|
then
|
||||||
echo "Wrong version of fish ${current_version}"
|
echo "Wrong version of fish ${current_version}"
|
||||||
fish_good=1
|
fish_good=1
|
||||||
|
|||||||
Reference in New Issue
Block a user