I have a package with .install file in /Debian that copies data files. I want the files to be installed in ${HOME}/Documents/etc
The .install file is
#!/usr/bin/dh-exec
usr/bin/my_files*
${HOME}/Documents/presets/* => /${HOME}/Documents/presets
But dpkg-buildpackage parses and replaces the target path with hard-coded values captured on the building host. Obviously those paths can't work on other PCs, so I want to modify the rule so that the target location will be established during installation and not build phase. Can you advise?
Thanks in advance
/home/Raikhel/Documents/: Unpack package.deb and copy the files, folders to a new folder, and run e.g.$ dpkg-deb -b name name_version_amd64.deb... all according to the general build rules. – Knud Larsen Jul 23 '21 at 07:46apt-get install my_lib. Is there a standard way to do it specified in the dpkg policy ? I couldn't find one, and now I'm experimenting withpostinstmaintainer's script, which may eventually work but would make the scripts more complex – Evgeni Raikhel Jul 23 '21 at 16:38/usr/lib/gcc/x86_64-linux-gnu/where they are found automatically by apps. .......... Why do you want libs i /home/name/ ? ? – Knud Larsen Jul 23 '21 at 18:35