11 lines
467 B
Text
11 lines
467 B
Text
|
[Trigger]
|
||
|
Operation = Install
|
||
|
Operation = Upgrade
|
||
|
Type = Path
|
||
|
Target = usr/share/wine/wine.inf
|
||
|
|
||
|
[Action]
|
||
|
Description = Stopping Wine from hijacking file associations...
|
||
|
When = PostTransaction
|
||
|
Exec = /bin/sh -c '/usr/bin/grep -q "HKCU,\"Software\\\Wine\\\FileOpenAssociations\",\"Enable\",2,\"N\"" /usr/share/wine/wine.inf || /usr/bin/sed -i "s/\[Services\]/\[Services\]\nHKCU,\"Software\\\Wine\\\FileOpenAssociations\",\"Enable\",2,\"N\"/g" /usr/share/wine/wine.inf'
|