This commit is contained in:
Егор 2024-11-08 17:23:56 +00:00
parent d2c3ae7904
commit 6d994d865c

View File

@ -129,7 +129,7 @@ if ! grep -q 'export PATH=$PATH:/home/autobuild/tools/win32/bin' ~/.bashrc; then
echo 'export PATH=$PATH:/home/autobuild/tools/win32/bin' >> ~/.bashrc echo 'export PATH=$PATH:/home/autobuild/tools/win32/bin' >> ~/.bashrc
fi fi
if if [ "$EUID" -ne 0 ] then if [ "$EUID" -ne 0 ] then
if ! grep -q '$PATH:/home/autobuild/tools/win32/bin' /etc/profile; then if ! grep -q '$PATH:/home/autobuild/tools/win32/bin' /etc/profile; then
print_msg "Adding '/home/autobuild/tools/win32/bin' to '/etc/profiles'" 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 sudo echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile.d/KolibriOS-Toolchain.sh