mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-22 09:13:48 +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
|
echo 'export PATH=$PATH:/home/autobuild/tools/win32/bin' >> ~/.bashrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ["$EUID" -ne 0 ] && [ ! -f /etc/profile.d/KolibriOS-Toolchain.sh ]
|
if ["$EUID" -ne 0 ]
|
||||||
then
|
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
|
else
|
||||||
print_msg "You must be logined as root!"
|
print_msg "You must be logined as root!"
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
rm -R /home/autobuild/tools/win32
|
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