aboutsummaryrefslogtreecommitdiffstats
path: root/community/luarocks/luarocks5.1.trigger
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-01-01 18:01:21 +0100
committerJakub Jirutka <jakub@jirutka.cz>2018-01-01 18:03:27 +0100
commit78738e70d186a73de523a72de316d7acd30a65b2 (patch)
tree87013c267fe13b0a7b7cf05174996e326536fd86 /community/luarocks/luarocks5.1.trigger
parent40f16916072f70bb59b15390136f6a2f781e1348 (diff)
community/luarocks: add support for /usr/share/lua/common
Diffstat (limited to 'community/luarocks/luarocks5.1.trigger')
-rw-r--r--community/luarocks/luarocks5.1.trigger4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/luarocks/luarocks5.1.trigger b/community/luarocks/luarocks5.1.trigger
index 1769aad4e02..29a1e6d38dc 100644
--- a/community/luarocks/luarocks5.1.trigger
+++ b/community/luarocks/luarocks5.1.trigger
@@ -1,5 +1,7 @@
#!/bin/sh
-luarocks-admin-5.1 make-manifest --local-tree --tree=/usr >/dev/null 2>&1
+for tree in distro-modules distro-modules-common; do
+ luarocks-admin-5.1 make-manifest --local-tree --tree=$tree >/dev/null 2>&1
+done
exit 0