Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 6caf897

Browse files
committed
Added lua and luac aliases to fix a bug in 5.3
Looks like the `lua5.3` package currently has a bug (https://bugs.launchpad.net/ubuntu/+source/lua5.3/+bug/1707212) with the creation of the `lua` and `luac` aliases.
1 parent afdab57 commit 6caf897

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ defaults: &defaults
1515
command: |
1616
sudo apt-get update && \
1717
sudo apt-get install --assume-yes --quiet --no-install-suggests \
18-
--no-install-recommends lua5.3 luajit
18+
--no-install-recommends lua5.3 luajit && \
19+
sudo update-alternatives --install /usr/bin/lua lua-interpreter \
20+
/usr/bin/lua5.3 130 --slave /usr/share/man/man1/lua.1.gz lua-manual /usr/share/man/man1/lua5.3.1.gz && \
21+
sudo update-alternatives --install /usr/bin/luac lua-compiler \
22+
/usr/bin/luac5.3 130 --slave /usr/share/man/man1/luac.1.gz lua-compiler-manual /usr/share/man/man1/luac5.3.1.gz
1923
- run:
2024
name: Luac version
2125
command: luac -v

0 commit comments

Comments
 (0)