fix of fix

This commit is contained in:
Егор 2024-11-08 17:45:32 +00:00
parent eb61d5f483
commit 9262ee0fa4

View File

@ -129,13 +129,6 @@ 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 [ ("$EUID" -ne 0) -o (! -f /etc/profile.d/KolibriOS-Toolchain.sh) ]
then
echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile.d/KolibriOS-Toolchain.sh
else
print_err "You must be logined as root!"
fi
if ["$EUID" -ne 0 ] && [ ! -f /etc/profile.d/KolibriOS-Toolchain.sh ] if ["$EUID" -ne 0 ] && [ ! -f /etc/profile.d/KolibriOS-Toolchain.sh ]
then then
echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile.d/KolibriOS-Toolchain.sh echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile.d/KolibriOS-Toolchain.sh