diff options
author | fkxxyz | 2020-11-24 20:51:39 +0800 |
---|---|---|
committer | fkxxyz | 2020-11-24 20:51:39 +0800 |
commit | 686a51be3deef441aeb3affb995f8c5a1d8b4f1b (patch) | |
tree | cf5852f38ddc4e3d7f3391cf2a84b103c6df53e5 /wine-mono-version-fix.hook | |
parent | 4b90879cb639bc32e463c50d4d049b31481a9762 (diff) | |
download | aur-wine-mono-gecko-version-fix.tar.gz |
1.0.1
Diffstat (limited to 'wine-mono-version-fix.hook')
-rw-r--r-- | wine-mono-version-fix.hook | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wine-mono-version-fix.hook b/wine-mono-version-fix.hook index 28eccb953a3d..9ecd3d3ace59 100644 --- a/wine-mono-version-fix.hook +++ b/wine-mono-version-fix.hook @@ -2,10 +2,10 @@ Type = File Operation = Install Operation = Upgrade -Target = usr/lib/wine/appwiz.cpl.so +Target = usr/lib/wine/appwiz.cpl* Target = usr/share/wine/mono/* [Action] Description = Fixing the version of wine-mono file. When = PostTransaction -Exec = /usr/bin/sh -c 'find /usr/share/wine/mono -type l -exec unlink {} \; ; ln -sf "$(pacman -Qlq wine-mono | grep "wine-mono-\\([-x[:digit:].]\\+\\).msi")" "/usr/share/wine/mono/$(strings -eb /usr/lib/wine/appwiz.cpl.so | sed -n "s/.*\\(wine-mono-[-x[:digit:].]\\+.msi\\).*/\\1/p")" 2>/dev/null ; true' +Exec = /usr/bin/sh -c 'find /usr/share/wine/mono -type l -exec unlink {} \; ; ln -sf "$(pacman -Qlq wine-mono | grep "wine-mono-\\([-x[:digit:].]\\+\\).msi")" "/usr/share/wine/mono/$(strings -eb /usr/lib/wine/appwiz.cpl* | sed -n "s/.*\\(wine-mono-[-x[:digit:].]\\+.msi\\).*/\\1/p")" 2>/dev/null ; true' |