mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-21 17:03:48 +01:00
try fix
This commit is contained in:
parent
6d994d865c
commit
e63568bc9c
@ -130,8 +130,7 @@ if ! grep -q 'export PATH=$PATH:/home/autobuild/tools/win32/bin' ~/.bashrc; then
|
||||
fi
|
||||
|
||||
if [ "$EUID" -ne 0 ] then
|
||||
if ! grep -q '$PATH:/home/autobuild/tools/win32/bin' /etc/profile; then
|
||||
print_msg "Adding '/home/autobuild/tools/win32/bin' to '/etc/profiles'"
|
||||
if [ ! -f /etc/profile.d/KolibriOS-Toolchain.sh ] then
|
||||
sudo echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile.d/KolibriOS-Toolchain.sh
|
||||
fi
|
||||
fi
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -R /home/autobuild/tools/win32
|
||||
rm /etc/profiles.d/KolibriOS-Toolchain.sh
|
||||
rm /etc/profile.d/KolibriOS-Toolchain.sh
|
||||
|
Loading…
Reference in New Issue
Block a user