X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=xz%2Finstall.sh;h=390ea1d0c6f1ca9cf36d4f4e82a65f0c60cb557e;hb=b1d3b44f966332434d8ec49b2a0df569e9bf8c16;hp=54beb4c12fb1c4cf5bcbe3ec6873118eb05e0416;hpb=713e44b7d96290daac344ce79bfa34736691fbee;p=webi-installers%2F.git diff --git a/xz/install.sh b/xz/install.sh index 54beb4c..390ea1d 100644 --- a/xz/install.sh +++ b/xz/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -{ +function __init_xz() { set -e set -u @@ -42,6 +42,8 @@ # liblzma 5.2.5 # This trims it down to just the version number: # 5.2.5 - echo $(xz --version 2>/dev/null | head -n 1 | cut -d ' ' -f 4) + echo $(xz --version 2> /dev/null | head -n 1 | cut -d ' ' -f 4) } } + +__init_xz