From 3cd399a52c77f909485ec275f4fa79c1176d17a0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 28 Mar 2017 20:54:27 +0300 Subject: sums_update_distr: include archives --- %HOME%/.bash_utils/distr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/%HOME%/.bash_utils/distr.sh b/%HOME%/.bash_utils/distr.sh index 161c276..fe44e75 100644 --- a/%HOME%/.bash_utils/distr.sh +++ b/%HOME%/.bash_utils/distr.sh @@ -86,7 +86,7 @@ sums_update_distr() ( while IFS= read -d '' -r path; do paths+=("$path") - done < <( find . -type f -\( -iname '*.exe' -o -iname '*.iso' -\) -printf '%P\0' ) + done < <( find . -type f -\( -iname '*.exe' -o -iname '*.iso' -o -iname '*.tar.gz' -o -iname '*.tar.bz2' -o -iname '*.zip' -\) -printf '%P\0' ) sums_update ${paths[@]+"${paths[@]}"} ) -- cgit v1.2.3