[Lunar-bugs] [Lunar Linux 0000474]: can't use in_depends in POST_INSTALL

Lunar bug reports list lunar-bugs at lunar-linux.org
Mon Apr 25 21:30:25 CEST 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=474 
====================================================================== 
Reported By:                wookietreiber
Assigned To:                sofar
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   474
Category:                   lunar-tools
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
lvu installed moonbase:     20110425.17 
Core Tools:                 Theedge 
lvu installed [lunar|theedge]: 20110419 
====================================================================== 
Date Submitted:             2011-04-25 21:30 CEST
Last Modified:              2011-04-25 21:30 CEST
====================================================================== 
Summary:                    can't use in_depends in POST_INSTALL
Description: 
We can't use in_depends in POST_INSTALL because of some issues with
/var/state/lunar/depends* (engelsman will explain later).

The example is concerning vim and perl:

perl/POST_INSTALL (old):

if module_installed vim; then
	lin -c vim
fi


which should better be (new, which does not work):

if module_installed vim ; then
	if in_depends vim perl ; then
		verbose_msg "Rebuilding vim ..."
		lin -c vim
	fi
fi

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-25 21:30 wookietreiber  New Issue                                    
2011-04-25 21:30 wookietreiber  Status                   new => assigned     
2011-04-25 21:30 wookietreiber  Assigned To               => sofar           
2011-04-25 21:30 wookietreiber  lvu installed moonbase    => 20110425.17     
2011-04-25 21:30 wookietreiber  Core Tools                => Theedge         
2011-04-25 21:30 wookietreiber  lvu installed [lunar|theedge] => 20110419       

======================================================================



More information about the Lunar-bugs mailing list