[opensuse-buildservice] Creating a File during Installation
Hi, I want to create a file in /var/log when my package is installed. How can this be specified in the spec file for the package? Regards,. Saurabh -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tuesday 2012-12-25 07:24, Saurabh Sood wrote:
Hi, I want to create a file in /var/log when my package is installed. How can this be specified in the spec file for the package?
Name it in the %files section? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
No, if you name it in %file, it has to be delivered as part of the RPM. Instead, check out the %ghost directive. On 12/26/2012 11:59 PM, Jan Engelhardt wrote:
On Tuesday 2012-12-25 07:24, Saurabh Sood wrote:
Hi, I want to create a file in /var/log when my package is installed. How can this be specified in the spec file for the package?
Name it in the %files section?
-- Lee Duncan SUSE Labs -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Jan Engelhardt
-
Lee Duncan
-
Saurabh Sood