On 04/09/2015 10:38 PM, Olly Betts wrote: > Control: tag -1 +pending > > On Thu, Apr 09, 2015 at 07:51:16PM +0200, Matthias Klose wrote: >> Preparing to unpack .../ruby-xapian_1.2.19-1_amd64.deb ... >> /var/lib/dpkg/tmp.ci/preinst: 6: [: missing ] >> /var/lib/dpkg/tmp.ci/preinst: 7: /var/lib/dpkg/tmp.ci/preinst: -x: not found >> Unpacking ruby-xapian (1.2.19-1) ... >> Setting up ruby-xapian (1.2.19-1) ... >> >> bashisms in the preinst: >> >> case $1 in >> install|upgrade) >> if [ -f /usr/share/doc-base/ruby-xapian-in -a >> -x /usr/sbin/install-docs ] ; then >> # Workaround for upgrade failure reported in #735418. > > It's not a bashism - it doesn't work under bash either! > > It looks to me to be just a missing line-continuation (\) - if I fix > that this works under both bash and dash. > > Thanks for spotting this. I have pushed a fix to the git repo, and > will upload shortly.
-a is not available everywhere. can you make it [ ...] && [ ... ]? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org