summarylogtreecommitdiffstats
path: root/ntsync-header.hook
blob: 0ac144be557e7c78b8892adb8ad30c9342d8fa6c (plain)
1
2
3
4
5
6
7
8
9
10
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = linux-api-headers
[Action]
Description = Replacing incomplete ntsync header...
Exec = /bin/sh -c '/usr/bin/mv -f /usr/include/linux/ntsync.h /usr/share/ntsync/ntsync.h_orig && /usr/bin/cp -a /usr/share/ntsync/ntsync.h /usr/include/linux'
When = PostTransaction
Depends = coreutils