You are not logged in.

#1 2020-09-14 06:59:21

justm3
Member
Registered: 2019-11-12
Posts: 39

Pacdiff hook

Hi all.
How would I go about invoking the hook but replacing the EXEC line with DIFFPROG=nano pacdiff ?

For quick ref the wiki instructs the following:
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *

[Action]
Description = Runs pacdiff utility
When = PostTransaction
Exec = /usr/bin/pacdiff



Thanks in advance.

Offline

#2 2020-09-14 09:17:20

nl6720
The Evil Wiki Admin
Registered: 2016-07-02
Posts: 595

Re: Pacdiff hook

Try:

Exec = /usr/bin/env DIFFPROG=nano pacdiff

I don't know how good of a diff program nano is, though.

Edit: Actually that will not work at all. pacdiff is interactive.

Last edited by nl6720 (2020-09-14 09:19:27)

Offline

Board footer

Powered by FluxBB