tag:blogger.com,1999:blog-1692764135609738148.post215520862160206823..comments2018-11-16T22:44:31.605+05:30Comments on GoLinuxHub: How to execute a script at %pre, %post, %preun or %postun stage (spec file) while installing/upgrading an rpmDeepak Prasadnoreply@blogger.comBlogger1125tag:blogger.com,1999:blog-1692764135609738148.post-40928950839600354732018-11-15T18:59:39.188+05:302018-11-15T18:59:39.188+05:30use [ $1 -gt 1 ] as you may get values greater tha...use [ $1 -gt 1 ] as you may get values greater than 2 during the upgradesayf_piratoshttps://www.blogger.com/profile/15009812352879133414noreply@blogger.com