Re: How can i quit the rpm installation gracefully?

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

 



--- Baz <barry@xxxxxxxxxxxxxxxxxxx> wrote:
> All,
> 
> If my rpm has to check an environment variable, say,
> BARRY_DIR, then if
> $BARRY_DIR does not exist, can the rpm quit
> gracefully without installing
> anything?
> 
> Should I do this checking in %pre?
If yoyur pre-install script exit with not-zero status
installation of rpm will be aborted.
But I am not sure it's gracefully.

Valery

> 
> Thanks, and please provide sample code if possible.
> 
> Barry
> 
> 
> 
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/rpm-list



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[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