How do I install an entire directory under /var with rpm

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

 



I have had previously added an install shell scripts that actually did 
an install.

This is what it consisted of in my spec file:
-----------------------------------------------------------------------------------

%install
sh ./installer.sh 

-----------------------------------------------------------------------------------


The script was in the q-statusLinux-5.10.tar-gz file and this is what I was:

-----------------------------------------------------------------------------------
#!/bin/sh
VAR=$1
if [ "${VAR}" == "no" ]; then
    echo "**********************NO*****************"
    exit;
fi

cd ../
tar cf -  q-statusLinux-5.10 | (cd /var/local; tar xf -)
echo "**********************INSTALLED*****************"
-----------------------------------------------------------------------------------

When I do rpmbuild it actually installs the program on the machine where 
I am building the rpm and makes me an rpm (But does not update the 
Package Manager- no surprise there). But when I export the rpm to 
another machine and install it. Nothing gets installed except the 
Package Manager gets updated.  What Am I missing, here?


-- 
------------------------------------------------------------------------
*Michael Barto*
Software Architect

	LogiQwest Circle
LogiQwest Inc.
16458 Bolsa Chica Street, # 15
Huntington Beach, CA  92649
http://www.logiqwest.com/

	    	mbarto at logiqwest.com <mailto:mbarto at logiqwest.com>
Tel:  714 377 3705
Fax: 714 840 3937
Cell: 714 883 1949

*'tis a gift to be simple*
------------------------------------------------------------------------
This e-mail may contain LogiQwest proprietary information and should be 
treated as confidential.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpm.org/pipermail/rpm-list/attachments/20081105/599b981c/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: circle.gif
Type: image/gif
Size: 651 bytes
Desc: not available
Url : http://lists.rpm.org/pipermail/rpm-list/attachments/20081105/599b981c/attachment.gif 


[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