From 9a5198c53e8d255da86aa1411b0aae6580ab46d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20V=C3=A4th?= Date: Fri, 26 May 2017 06:03:32 +0200 Subject: [PATCH] Treat 0 and - as false only if no symbol follows --- ChangeLog | 8 ++++++++ bin/squashmount | 2 +- etc/portage/repo.postsync.d/10-squashmount-gentoo | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d5d8d6..b696cfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ # ChangeLog for squashmount +*squashmount-15.4.2 + Martin Väth : + - Treat 0 and - as false only if no symbol follows + +*squashmount-15.4.1 + Martin Väth : + - Fix zsh completion return value + *squashmount-15.4.0_p2 Martin Väth : - Provide etc/revdep-rebuild/66-squashmount for python implementation diff --git a/bin/squashmount b/bin/squashmount index 2a8f730..45149a8 100755 --- a/bin/squashmount +++ b/bin/squashmount @@ -1,6 +1,6 @@ #!/usr/bin/env perl BEGIN { require 5.022 } -package Squashmount v15.4.1; +package Squashmount v15.4.2; use strict; use warnings; diff --git a/etc/portage/repo.postsync.d/10-squashmount-gentoo b/etc/portage/repo.postsync.d/10-squashmount-gentoo index 0fc118a..40601a7 100755 --- a/etc/portage/repo.postsync.d/10-squashmount-gentoo +++ b/etc/portage/repo.postsync.d/10-squashmount-gentoo @@ -25,7 +25,7 @@ esac yesno() { case ${1:-n} in - [nNfF0-]*|[oO][fF]*) + [nNfF]*|[oO][fF]*|0|-) return 1;; esac :