debian/triggers: add (to run ldconfig) (#664)

After installing the deb package, st-util fails to start:

> $ st-util
> st-util: error while loading shared libraries: libstlink-shared.so.1:
> cannot open shared object file: No such file or directory

The reason is, no one ran `ldconfig` upon installing the library.

The solution, as per latest Debian recommendations [1], is to add an
ldconfig trigger in debian/triggers, which is what this commit does.

[1] https://www.debian.org/doc/debian-policy/#ldconfig

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
pull/667/head
Kirill Kolyshkin 2018-02-06 05:45:57 -08:00 zatwierdzone przez Jerry Jacobs
rodzic 1969148535
commit fbd55d9f1b
1 zmienionych plików z 1 dodań i 0 usunięć

1
debian/triggers vendored 100644
Wyświetl plik

@ -0,0 +1 @@
activate-noawait ldconfig