[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: My first RPM
- From: "Hari N" <hari2n gmail com>
- To: "RPM Package Manager" <rpm-list redhat com>
- Subject: Re: My first RPM
- Date: Wed, 13 Sep 2006 02:41:47 +0630
Hi,
I guess you should leave all the sections of the spec file blank and
go to the %post section and write a few lines of code to check if the
user already exists, and based on that, you can create the user or
report the appropriate error message and abort the RPM install.
But let me ask you why an RPM for this? RPM is meant for something
else. Why not just write a shell script for this, which would be more
appropriate?
Regards,
--
Hari
On 9/13/06, Dave Morrow <david morrow autodata net> wrote:
I am in the process of creating my first RPM, so please try not to flame me
too badly should my question turn out to be too stupid :)
Basically, I am wondering if someone can assist me. I want the RPM I am
creating to create a user if it does not already exist. Can someone assist
me with this? (Assuming it can be done )
David Morrow
Technical Systems Lead
Autodata Solutions Company
David Morrow Autodata net
http://www.autodatasolutions.com
Tel: (519) 963-3020
Fax: (519) 451-6615
< Lead, follow or get out of the way! >
This message has originated from Autodata Solutions. The attached material
is the Confidential and Proprietary Information of Autodata Solutions. This
email and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If you
have received this email in error please delete this message and notify the
Autodata system administrator at Administrator autodata net
<mailto:Administrator autodata net>
_______________________________________________
Rpm-list mailing list
Rpm-list redhat com
https://www.redhat.com/mailman/listinfo/rpm-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]