[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unfreeze request - smstools (3.0.2-3)



Mark Purcell wrote:
> smstools (3.0.2-3) unstable; urgency=medium 
>    * Urgency medium as this clears a bug in the upgrade path:
>      Added prerm script to handle upgrade from 3.0-1 to this version
>      (Closes: #403615)

--- smstools-3.0.2.orig/debian/prerm
+++ smstools-3.0.2/debian/prerm
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+
+if ! "$1" = 'failed-upgrade'; then
+       #DEBHELPER#
+fi

This looks not right as it will try to execute $1, which will probably already
fail with an error message AFAICS...

I doubt this is tested, though feel free to prove me wrong :-)

Cheers

Luk

-- 
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint:   D5AF 25FB 316B 53BB 08E7   F999 E544 DE07 9B7C 328D

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: