mirror of
https://github.com/the-sane/lug-helper.git
synced 2024-12-29 07:04:20 +00:00
more general message on zstd dependency check
This commit is contained in:
parent
ba907c44bf
commit
747c799a8b
@ -67,8 +67,8 @@ if [ ! -x "$(command -v curl)" ]; then
|
|||||||
fi
|
fi
|
||||||
if [ ! -x "$(command -v zstd)" ]; then
|
if [ ! -x "$(command -v zstd)" ]; then
|
||||||
# Print to stderr and also try warning the user through notify-send
|
# Print to stderr and also try warning the user through notify-send
|
||||||
printf "lug-helper.sh: The package 'zstd' was not found on this system. You won't be able to install Runners from TKG.\n" 1>&2
|
printf "lug-helper.sh: The package 'zstd' was not found on this system. It is required for extracting some runner packages.\n" 1>&2
|
||||||
notify-send "lug-helper" "The package 'zstd' was not found on this system. You won't be able to install Runners from TKG.\n" --icon=dialog-warning
|
notify-send "lug-helper" "The package 'zstd' was not found on this system. It is required for extracting some runner packages.\n" --icon=dialog-warning
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
if [ ! -x "$(command -v mktemp)" ] || [ ! -x "$(command -v sort)" ] || [ ! -x "$(command -v basename)" ] || [ ! -x "$(command -v realpath)" ] || [ ! -x "$(command -v dirname)" ]; then
|
if [ ! -x "$(command -v mktemp)" ] || [ ! -x "$(command -v sort)" ] || [ ! -x "$(command -v basename)" ] || [ ! -x "$(command -v realpath)" ] || [ ! -x "$(command -v dirname)" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user