mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-21 17:03:48 +01:00
update
This commit is contained in:
parent
048965ba75
commit
53343866d9
@ -129,9 +129,11 @@ if ! grep -q 'export PATH=$PATH:/home/autobuild/tools/win32/bin' ~/.bashrc; then
|
||||
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'"
|
||||
sudo echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile
|
||||
if (whoami != root)
|
||||
if ! grep -q '$PATH:/home/autobuild/tools/win32/bin' /etc/profile; then
|
||||
print_msg "Adding '/home/autobuild/tools/win32/bin' to '/etc/profiles'"
|
||||
sudo echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile.d/KolibriOS-Toolchain.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "$OLDPWD"
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -R /home/autobuild/tools/win32
|
||||
rm /etc/profiles.d/KolibriOS-Toolchain.sh
|
||||
|
Loading…
Reference in New Issue
Block a user