mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-28 09:36:01 -04:00
Add sudo
This commit is contained in:
parent
1636942166
commit
e8bcbb42ac
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ else
|
||||||
# Vivado looks for ncurses5 libraries, but Ubuntu 24.04 only has ncurses6
|
# Vivado looks for ncurses5 libraries, but Ubuntu 24.04 only has ncurses6
|
||||||
# Create symbolic links to the ncurses6 libraries to fool Vivado
|
# Create symbolic links to the ncurses6 libraries to fool Vivado
|
||||||
if (( UBUNTU_VERSION >= 24 )); then
|
if (( UBUNTU_VERSION >= 24 )); then
|
||||||
ln -vsf /lib/x86_64-linux-gnu/libncurses.so.6 /lib/x86_64-linux-gnu/libncurses.so.5
|
sudo ln -vsf /lib/x86_64-linux-gnu/libncurses.so.6 /lib/x86_64-linux-gnu/libncurses.so.5
|
||||||
ln -vsf /lib/x86_64-linux-gnu/libtinfo.so.6 /lib/x86_64-linux-gnu/libntinfo.so.5
|
sudo ln -vsf /lib/x86_64-linux-gnu/libtinfo.so.6 /lib/x86_64-linux-gnu/libntinfo.so.5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "${SUCCESS_COLOR}Packages successfully installed.${ENDC}"
|
echo -e "${SUCCESS_COLOR}Packages successfully installed.${ENDC}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue