This commit is contained in:
Егор 2024-11-08 17:34:25 +00:00
parent 6d994d865c
commit e63568bc9c
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
rm -R /home/autobuild/tools/win32 rm -R /home/autobuild/tools/win32
rm /etc/profiles.d/KolibriOS-Toolchain.sh rm /etc/profile.d/KolibriOS-Toolchain.sh