On 03/11/2013 02:40 PM, John Ferlan wrote:


I'm not sure what "$1" is in this context, let's consider setting "$1"
to some variable that is more understandable in the context.
Furthermore, is "0" a special number/string?   How would anyone know
reading the code without having knowledge of the code.


Hi John,
actually this is standard way a %post or %pre scripts are handled
by RPM: the single parameter tells the scripts whether they are called
during a clean install/uninstall or an update.
See http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html for reference.

--

Mit freundlichen Grüßen/Kind Regards
   Viktor Mihajlovski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

_______________________________________________
Libvirt-cim mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvirt-cim

Reply via email to