From 3e215682350f90662563a949b1f312dde3bf8d37 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 17 Feb 2022 17:31:37 +0100 Subject: [PATCH] fix gl4D install --- installation.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation.sh b/installation.sh index 623e4be..f903637 100644 --- a/installation.sh +++ b/installation.sh @@ -97,13 +97,13 @@ rm -rf GL4Dummies sudo ldconfig # Add to path 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" >> "$HOME"/.bashrc + echo -e "\n# GL4Dummies\nexport PATH=/usr/local/bin:\$PATH\nexport LD_LIBRARY_PATH=/usr/local/lib:\$LD_LIBRARY_PATH\n" >> "$HOME"/.bashrc fi 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" >> "$HOME"/.zshrc + echo -e "\n# GL4Dummies\nexport PATH=/usr/local/bin:\$PATH\nexport LD_LIBRARY_PATH=/usr/local/lib:\$LD_LIBRARY_PATH\n" >> "$HOME"/.zshrc fi 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" >> "$HOME"/.config/fish/config.fish + echo -e "\n# GL4Dummies\nset -gx LD_LIBRARY_PATH /usr/local/lib \$LD_LIBRARY_PATH\n" >> "$HOME"/.config/fish/config.fish fi # == Latex ==