-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 All, I have a question. I've packaged a package that uses scripts in %post and %postun When do zypper install <package> and a zypper update and a rpm -i <package> and a rpm -U <package> I exactly see what is described in http://www.stearns.org/rsync-backup/rsync-backup.spec <quote> ##Here are the scripts run at first install, in this order: ##pre - 1 - first install ##post - 1 - first install # ##Here are the scripts run during an upgrade, in this order: ##pre - 2 - upgrade ##post - 2 - upgrade ##preun - 1 - upgrade ##postun - 1 - upgrade # ##Here are the scripts run at final erase, in this order: ##preun - 0 - final erasure ##postun - 0 - final erasure </quote> I don't understand why during an upgrade %postun is run after %post? As I expect %postun = post uninstall? I would expect that during an upgrade the %preun and %postun would be run before %pre and %post Can someone please explain, why it's like this? Regards, Joop. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iF4EAREIAAYFAktx7/8ACgkQajPXGT73MfhkSgEAitESv4COVKH2fJVveaIFLpsP RVQHJcfDX7NnSCr0du0BAORRYyZWygZTWzDIbutW0BALDCGyEKrOUlM2tbld3fdO =Ekoy -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org