%preinst Fails - Can I Undo Changes?

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

 



Suppose I have an RPM with an elaborate %preinst script which does all
kinds of things to the file-system (rm, ln, mv, etc). And suppose it
fails (so the package is not installed), but after some things were
done and others not (e.g., an important file was rm'ed but not replaced).

Is there a way to undo the changes of the %preinst script ? Is there any
script, maybe named %unpreinst, or some other method to do this?

Thanks,
/Danny


[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