Hi,

   I have a package (package B) which i want to install along with another 
package (package A). To install package B i have to run a shell script which 
will check weather there is sufficient space in the /tmp directory, if there is 
sufficient space, extract the contents of the package B in the tmp directory 
and then goes on about installing the package.
    To install package B along with package A, i am  running the installation 
script of package B in post installation steps of package A. I want to check 
for the sufficient disk space in the /tmp directory using the package managers 
fecelities rather than checking space in /tmp directory in post installation 
steps. I can calculate the space required in /tmp to install package B by 
reading the installation script of the package B. 
     I tried using "space" information file. But the problem is that , if disk 
space is not available in /tmp directory it gives warning and goes on with the 
installation. But i want, installation to abort ones it finds out that 
sufficient disk space is not available in /tmp directory. I can check for the 
space in /tmp directory wiht checkinstall or preinstall scripts, but this will 
be used if no other alternative is not available.
      Is there any other way i can achieve this with out using preinstall or 
checkinstall??
-- 
This message posted from opensolaris.org

Reply via email to