fixing gl4d install
This commit is contained in:
parent
0be12b5383
commit
f0b571cd26
1 changed files with 3 additions and 3 deletions
|
@ -97,13 +97,13 @@ rm -rf GL4Dummies
|
||||||
sudo ldconfig
|
sudo ldconfig
|
||||||
# Add to path
|
# Add to path
|
||||||
if [ -f "$HOME"/.bashrc ] ; then
|
if [ -f "$HOME"/.bashrc ] ; then
|
||||||
echo -e "\n# GL4Dummies\nexport PATH=\$PATH:\$HOME/local/bin\nexport LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:\$HOME/local/lib\n\n" >> "$HOME"/.bashrc
|
echo -e "\n# GL4Dummies\nexport PATH=\$PATH:\$HOME/local/bin\nexport LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:\$HOME/local/lib\n" >> "$HOME"/.bashrc
|
||||||
fi
|
fi
|
||||||
if [ -f "$HOME"/.zshrc ] ; then
|
if [ -f "$HOME"/.zshrc ] ; then
|
||||||
echo -e "\n# GL4Dummies\nexport PATH=\$PATH:\$HOME/local/bin\nexport LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:\$HOME/local/lib\n\n" >> "$HOME"/.zshrc
|
echo -e "\n# GL4Dummies\nexport PATH=\$PATH:\$HOME/local/bin\nexport LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:\$HOME/local/lib\n" >> "$HOME"/.zshrc
|
||||||
fi
|
fi
|
||||||
if [ -f "$HOME"/.config/fish/config.fish ] ; then
|
if [ -f "$HOME"/.config/fish/config.fish ] ; then
|
||||||
echo -e "\n# GL4Dummies\nset -gx PATH \$HOME/local/bin \$PATH\nset -gx LD_LIBRARY_PATH \$HOME/local/lib $LD_LIBRARY_PATH\n\n" >> "$HOME"/.config/fish/config.fish
|
echo -e "\n# GL4Dummies\nset -gx PATH \$HOME/local/bin \$PATH\nset -gx LD_LIBRARY_PATH \$HOME/local/lib \$LD_LIBRARY_PATH\n" >> "$HOME"/.config/fish/config.fish
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# == Latex ==
|
# == Latex ==
|
||||||
|
|
Reference in a new issue