mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2025-09-20 18:00:07 +02:00
use just profile
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user