Shell: added 'lri: luarocks install' function
parent
ac262bcff5
commit
c48a7f2591
|
@ -163,3 +163,4 @@ block-insecure-content=false
|
|||
enable-ipc=true
|
||||
|
||||
adblocker-element-hider=true
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
em
|
|
@ -341,3 +341,14 @@ if [ -d "/usr/local/texlive" ]; then
|
|||
sudo sh -c 'umask 022 && tlmgr remove $0 $@' "$@"
|
||||
}
|
||||
fi
|
||||
|
||||
##==============================================================================
|
||||
## Luarocks functions
|
||||
##==============================================================================
|
||||
|
||||
if command -v luarocks >/dev/null 2>&1; then
|
||||
lri ()
|
||||
{
|
||||
sudo sh -c 'umask 022 && luarocks install $0 $@' "$@"
|
||||
}
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue