mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
$1 is "2" during package upgrade in %post section, this fixes the handling of $1 as per https://fedoraproject.org/wiki/Packaging:Scriptlets This improves handling of $1 during %post upgrade step. Some of the command/code are idempotent such as enabling and starting a service and can be run without any $1 checks. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>