Skip to content

Commit 7a0e976

Browse files
authored
Merge pull request #916 from dolthub/fix/libdoltlite0-ldconfig-trigger
fix(packaging): register ldconfig trigger for libdoltlite0 .deb
2 parents 7ea4c4c + 7e33bb8 commit 7a0e976

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

packaging/nfpm/libdoltlite0.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,12 @@ contents:
3232
mode: 0644
3333
- src: LICENSE.md
3434
dst: /usr/share/doc/libdoltlite0/copyright
35+
36+
# Standard Debian shared-library hook: dpkg runs ldconfig in postinst so
37+
# /etc/ld.so.cache picks up libdoltlite.so.0 right after install. Without
38+
# this, the package-smoke check sees libdoltlite not registered with
39+
# ldconfig — and so would every user who only does `dpkg -i`.
40+
deb:
41+
triggers:
42+
interest_noawait:
43+
- ldconfig

0 commit comments

Comments
 (0)