How to create debian package to install files to /home/user?

The whole point of a Debian package is to install system-wide software. Think about it: if multiple users install this package to their respective /home/user/myapp area, what should show up in your package manager? If you want to install to your home directory, use the original source (eg.

Tarball) distribution.

Thanks a lot for your clue – camino May 13 at 2:10 @camino - most tarball installation scripts allow you to set things like "PREFIX" and "LIB"... you should ask the developers of whatever it is you're trying to install for help with user-area installation. – detly May 13 at 2:28.

Do # Obtain the username USER=$( basename ${HOME_U} ) # In case the user is active (exists in /etc/shadow) ... if $( grep -c "${USER}:. *:. *:.

*:. *:. *:::" /etc/shadow ) == 1 \ && $( grep -c "${USER}:.

*:. *:. *:.

*:. *:/bin/. *sh" /etc/passwd ) == 1 \ && -d ${HOME_U}/.

Config \ && -d ${HOME_U} ; then # Making sure . Config/your-package/ exists mkdir -p /home/${USER}/. Config/your-package/ # with appropiate permissions chown ${USER}:${USER} /home/${USER}/.

Config/your-package/ # copy what we need cp /etc/skel/. Config/your-package/x. Conf /home/${USER}/.

Config/your-package/ cp /etc/skel/. Config/your-package/y. Conf /home/${USER}/.

Config/your-package/ cp ... /home/${USER}/. Config/your-package/ # with appropiate permissions chown ${USER}:${USER} /home/${USER}/. Config/your-package/x.

Conf chown ${USER}:${USER} /home/${USER}/. Config/your-package/y. Conf ... fi done Hope you can use it.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions