Hi Tom,
please change the location of the documentation files for SuSE-Systems in the
shorewall-xxx.noarch.rpm
On SuSE-Systems the docs (README, COPYING, INSTALL, Changelog,...) are located
in /usr/share/doc/packages. The actual rpm is installing the docs
in /usr/share/doc.
The check for SuSE-Systems could be done this way:
if [ -e /etc/SuSE-release ]; then
# SuSE system detected
else
...
fi
Keep on your good work and have fun
Toni
Horst Graffy wrote:> Hi Tom, > > please change the location of the documentation files for SuSE-Systems in the > shorewall-xxx.noarch.rpm > On SuSE-Systems the docs (README, COPYING, INSTALL, Changelog,...) are located > in /usr/share/doc/packages. The actual rpm is installing the docs > in /usr/share/doc. > > The check for SuSE-Systems could be done this way: > if [ -e /etc/SuSE-release ]; then > # SuSE system detected > else > ... > fi >Tested patches cheerfully accepted... -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net
Am Sonntag, 18. Juli 2004 16:05 schrieb Tom Eastep:> Horst Graffy wrote: > > Hi Tom, > > > > please change the location of the documentation files for SuSE-Systems in > > the shorewall-xxx.noarch.rpm > > On SuSE-Systems the docs (README, COPYING, INSTALL, Changelog,...) are > > located in /usr/share/doc/packages. The actual rpm is installing the docs > > in /usr/share/doc. > > > > The check for SuSE-Systems could be done this way: > > if [ -e /etc/SuSE-release ]; then > > # SuSE system detected > > else > > ... > > fi > > Tested patches cheerfully accepted...fine, thanks ;)> > -TomToni