How do I install an entire directory under /var with rpm
Michael Barto
mbarto at logiqwest.com
Wed Nov 5 22:07:41 UTC 2008
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
More information about the Rpm-list
mailing list