aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-14 17:35:32 -0400
committerB. Watson <urchlay@slackware.uk>2023-05-14 17:35:32 -0400
commitd186e219b63d9f023d0f7718b3a30162b2a87721 (patch)
treed0300352a40341526044a0ad4f8cbb87a47c2fbc
parent4d859d3cbfc59b45e095122f32b7fe5cea574233 (diff)
downloadsbo-maintainer-tools-d186e219b63d9f023d0f7718b3a30162b2a87721.tar.gz
sbopkglint: handle *.info-1.gz, etc.
-rw-r--r--sbopkglint.d/60-usr_info.t.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbopkglint.d/60-usr_info.t.sh b/sbopkglint.d/60-usr_info.t.sh
index 61fe8dc..a9b2494 100644
--- a/sbopkglint.d/60-usr_info.t.sh
+++ b/sbopkglint.d/60-usr_info.t.sh
@@ -61,8 +61,8 @@ if [ -d usr/info ]; then
else
case "$i" in
usr/info/dir) dir_found=1 ; check_info "$i" 0 ;;
- *.info) info_found=1 ; check_info "$i" 0 ; NONGZIP+="$i " ;;
- *.info.gz) info_found=1 ; check_info "$i" 1 ;;
+ *.info*.gz) info_found=1 ; check_info "$i" 1 ;;
+ *.info*) info_found=1 ; check_info "$i" 0 ; NONGZIP+="$i " ;;
*) BADFILES+="$i " ;;
esac
fi