Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
I made an RPM that needs an ini-File as parameter or simply to be read in the same folder as the rpm is.
Description:
The Software included is a windows-app combined with wine. this windows app can be installed via netinstall, where it needs an Inifile, that is in the same folder as the setup.exe. Here is no Problem.
But since this whole installation is packed with wine into a RPM, i want to have the possibility, to adjust the Inifile as well before installing. So the goal is to kopy a folder (for example "NetInstall"), that contains the rpm and the Inifile, to the users desktops. There they will be installed automatically.
Now the Problem is that when installing an RPM (for example with "rpm -Uvh asdf") the working directory seems to be "/", where the Inifile is not locatet. So it can not be found.
Is there a way to tell the RPM-installation to search in the same path as the RPM?
Else, can a rpm installation be startet with a textfile as parameter?
example: "rpm -Uvh setup.rpm -Inifile.ini"
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe