aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-03-28 20:54:27 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-03-28 20:54:27 +0300
commit3cd399a52c77f909485ec275f4fa79c1176d17a0 (patch)
tree9e090dd664d986d20a8881207baaffe21192056b
parentrunc*: add .exe on Cygwin (diff)
downloadlinux-home-3cd399a52c77f909485ec275f4fa79c1176d17a0.tar.gz
linux-home-3cd399a52c77f909485ec275f4fa79c1176d17a0.zip
sums_update_distr: include archives
-rw-r--r--%HOME%/.bash_utils/distr.sh2
1 files changed, 1 insertions, 1 deletions
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[@]}"}
)