When preinst is called with $1 = "upgrade", $2 is set with old
version. How should I get programmatically the new version (the one
being currently installed), to compare with "dpkg --compare-versions".

-- 
Andrey Utkin


-- 
To UNSUBSCRIBE, email to debian-dpkg-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CANZNk81rmSPXg9MEzzoDf1JsVoqmXcSVCzf=ENoNiQzY=u_...@mail.gmail.com

Reply via email to