lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

hi there! :)

2018-07-15 19:48 GMT+00:00 Sarah <>:
> I am writing a build script in Lua for my language and I need to find
> out if the user has either Clang or GCC installed.

this is what ive made for myself in bash:

if [[ "$(dpkg-query -l $i 2>&1)" == *dpkg-query* ]]; then

you can make anything like this with an another package manager i
think, and you can make a lua alternative with os.execute or

good luck, have fun, and all the bests for every1 around! :)