Hello, I realize this isn't a fedora specific issue, but I know you are all very rpm knowledgeable and might have a quick answer to my issue.
I'm building a few bash scripts for use in our company. We have a few fedora based workstations so I thought, easier than copying the scripts everywhere - lets create an rpm so I can update them as need be. So instead of a bunch of separate bash scripts for each different command, I would have a common script that included a common library of functions, and then a single file for each command. So the basis is this:
main command located /usr/bin
it has a line
SCRIPTDIR=.....
while developing I need that to be the local files I'm working on so I have it set to ./scripts, but when I deploy as an rpm I need it changed to %_datadir/%{name}... I couldn't find a 'good' way of doing that. Any suggestions?
On Tue, 2009-01-20 at 16:15 -0700, Nathanael D. Noblet wrote:
main command located /usr/bin
it has a line
SCRIPTDIR=.....
while developing I need that to be the local files I'm working on so I have it set to ./scripts, but when I deploy as an rpm I need it changed to %_datadir/%{name}... I couldn't find a 'good' way of doing that. Any suggestions?
%{_sysconfdir}/profile.d