Skip steps in uninstall scripts if just an update

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

 



Is there any way to tell in your uninstall scripts whether the RPM is
truly being uninstalled or just updated?

The problem is that the pre and post uninstall scripts are run after
the install scripts when using rpm -U.  In other words, what would
work fine if someone did an rpm -e and than an rpm -i might not work
with an rpm -U if the uninstall scripts undo the work of the install
scripts.

Thanks for any help.

- Daniel
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list


[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux