Mailinglist Archive: opensuse-packaging (100 mails)
| < Previous | Next > |
[opensuse-packaging] RPM 3 - external scripts in script-sections
- From: Andre Hübner <andre.huebner@xxxxxx>
- Date: Tue, 21 Apr 2009 14:48:21 +0200
- Message-id: <4422723432E2413A98D65ECF1E8C3A54@xxxxxxxxx>
Hello,
i have some older machines with RPM version 3.0.6 (suse 8.2)
it seems that in rpm ~3 it is not supported to use external shellscripts for %pre, %post, %preun, %postun
example:
Source1: pre.sh
%pre -f pre.sh
My Code is only executed when directly inserted in %pre section.
Is there any other possibilty or workarround to extenals scripts for script-sections?
Thanks,
Andre
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
i have some older machines with RPM version 3.0.6 (suse 8.2)
it seems that in rpm ~3 it is not supported to use external shellscripts for %pre, %post, %preun, %postun
example:
Source1: pre.sh
%pre -f pre.sh
My Code is only executed when directly inserted in %pre section.
Is there any other possibilty or workarround to extenals scripts for script-sections?
Thanks,
Andre
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |