1 2 3 4 5 6 7 8 9 10 11 12 13 14
# Maintainer: North Crescent <north-crescent@tuta.io> pre_install() { luarocks install "luaposix" } pre_upgrade() { luarocks remove "luaposix" &> "/dev/null" luarocks install "luaposix" } post_remove() { luarocks remove "luaposix" }