mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-21 17:03:48 +01:00
Update install.sh
This commit is contained in:
parent
2346cbda4a
commit
fb37fd61a8
13
install.sh
13
install.sh
@ -123,10 +123,15 @@ sudo ln -sf /usr/lib/libmpfr.so.6 /usr/lib/libmpfr.so.4
|
|||||||
print_ok "Successfully!"
|
print_ok "Successfully!"
|
||||||
|
|
||||||
|
|
||||||
if ! grep -q 'export PATH=$PATH:$TOOLCHAIN_DIR/win32/bin' ~/.bashrc; then
|
if ! grep -q 'export PATH=$PATH:/home/autobuild/tools/win32/bin' ~/.bashrc; then
|
||||||
export PATH=$PATH:/home/autobuild/tools/win32/bin
|
export PATH=$PATH:/home/autobuild/tools/win32/bin
|
||||||
print_msg "Adding '$TOOLCHAIN_DIR/win32/bin' to '~/.bashrc'"
|
print_msg "Adding '$TOOLCHAIN_DIR/win32/bin' to '~/.bashrc'"
|
||||||
echo 'export PATH=$PATH:$TOOLCHAIN_DIR/win32/bin' >> ~/.bashrc
|
echo 'export PATH=$PATH:/home/autobuild/tools/win32/bin' >> ~/.bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! grep -q '$PATH:/home/autobuild/tools/win32/bin' /etc/profile; then
|
||||||
|
print_msg "Adding '/home/autobuild/tools/win32/bin' to '/etc/profiles'"
|
||||||
|
echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd "$OLDPWD"
|
cd "$OLDPWD"
|
||||||
|
Loading…
Reference in New Issue
Block a user