diff options
author | shellkr | 2016-05-29 02:09:44 +0200 |
---|---|---|
committer | shellkr | 2016-05-29 02:09:44 +0200 |
commit | 28ed2b0d05f335378234f9c1901f6b250323c3dd (patch) | |
tree | af1d16a78e3a24abc99509da15e6edd0b723281b /minetest-usrdir_patch.hook | |
download | aur-28ed2b0d05f335378234f9c1901f6b250323c3dd.tar.gz |
initial push
Diffstat (limited to 'minetest-usrdir_patch.hook')
-rw-r--r-- | minetest-usrdir_patch.hook | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/minetest-usrdir_patch.hook b/minetest-usrdir_patch.hook new file mode 100644 index 000000000000..4e74a2771f7f --- /dev/null +++ b/minetest-usrdir_patch.hook @@ -0,0 +1,14 @@ +# Patch Minetest to recognize /usr/share/minetest for mods. +# NOTE: will not run if the transaction is interrupted for any reason + +[Trigger] +Operation = Install +Operation = Upgrade +Type = Package +Target = minetest +Target = minetest-git + +[Action] +Depends = minetest +When = PostTransaction +Exec = /bin/sh -c 'cd / && patch -p1 -i /usr/share/libalpm/scripts/minetest-usrdir_patch.patch' |