Skip to content

Commit 39ee529

Browse files
committed
build
1 parent 9016cce commit 39ee529

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

usr/share/usability-misc/dist-installer-cli-standalone

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ get_os(){
458458
esac
459459

460460
## Debian 'testing' /etc/os-release does not contain VERSION_ID.
461-
if printf '%s' "${distro}" | grep --quiet "/sid" ; then
461+
if printf '%s' "${distro}" | grep "/sid" &>/dev/null ; then
462462
debian_testing_or_unstable_detected=1
463463
fi
464464

@@ -812,7 +812,7 @@ range_arg(){
812812

813813

814814
if ! command -v stecho &>/dev/null ; then
815-
## Fallback to printf in case stecho is unavailable.
815+
## Fallback to 'printf' in case 'stecho' is unavailable.
816816
stecho() {
817817
printf "%s\n" "$@"
818818
}
@@ -890,7 +890,7 @@ log(){
890890
all_log_levels="warn notice info debug echo null"
891891
# shellcheck disable=SC2154
892892
if printf '%s' " ${all_log_levels} " | grep -o ".* ${log_level} " \
893-
| grep -q " ${log_type}"
893+
| grep " ${log_type}" &>/dev/null
894894
then
895895
case "${log_type}" in
896896
null)
@@ -902,7 +902,7 @@ log(){
902902
esac
903903
fi
904904

905-
sleep 0.1
905+
#sleep 0.1
906906

907907
if test "${xtrace:-}" = "1"; then
908908
set -o xtrace

0 commit comments

Comments
 (0)