summarylogtreecommitdiffstats
path: root/sequoia-octopus-librnp.hook
blob: 08ffe1999fc907a0590b65bd5fee6dca01dad141 (plain)
1
2
3
4
5
6
7
8
9
10
[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = usr/lib/thunderbird/librnp.so

[Action]
Description = [sequoia-octopus-librnp] Replacing librnp.so…
When = PostTransaction
Exec = /bin/bash -c "if [ ! -L /usr/lib/thunderbird/librnp.so ]; then mv /usr/lib/thunderbird/{librnp.so,librnp.so.orig} ; ln -sf /usr/lib/libsequoia_octopus_librnp.so /usr/lib/thunderbird/librnp.so ; fi"