how to know $HOME in a .deb package

116 Views Asked by At

I am making a debian package that includes some libraries. When installing the package, the libraries have to link to $HOME.

Here is a part of my postinst file:

ln -sf $INSTALLPATH/libtest.so $HOME/.config/test/libtest.so

If using dpkg command to install, linking works, but if installing package by Ubuntu Software Center, I can't find the link library under $HOME/.config/test.

Please let me know howto link libraries to $HOME using Ubuntu Software Center.

0

There are 0 best solutions below