mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-25 01:53:49 +01:00
use just profile
This commit is contained in:
parent
9262ee0fa4
commit
8505ca3a4e
@ -129,9 +129,9 @@ 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 ["$EUID" -ne 0 ] && [ ! -f /etc/profile.d/KolibriOS-Toolchain.sh ]
|
||||
if ["$EUID" -ne 0 ]
|
||||
then
|
||||
echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile.d/KolibriOS-Toolchain.sh
|
||||
echo 'PATH=$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile
|
||||
else
|
||||
print_msg "You must be logined as root!"
|
||||
fi
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -R /home/autobuild/tools/win32
|
||||
rm /etc/profile.d/KolibriOS-Toolchain.sh
|
||||
sed 'PATH=$PATH:/home/autobuild/tools/win32/bin' /etc/profile
|
||||
|
Loading…
Reference in New Issue
Block a user