mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-23 17:33:47 +01:00
fix access error & use / instead \ in postrm
This commit is contained in:
parent
e07c12dacc
commit
fd5c312c33
@ -161,7 +161,10 @@ fi
|
||||
|
||||
export $MESSAGE
|
||||
|
||||
|
||||
sudo chmod 775 $TOOLCHAIN_DIR/win32/bin/*
|
||||
sudo chmod 775 $TOOLCHAIN_DIR/win32/include/*
|
||||
sudo chmod 775 $TOOLCHAIN_DIR/win32/lib/gcc/mingw32/5.4.0/include/*
|
||||
sudo chmod 775 $TOOLCHAIN_DIR/win32/lib/gcc/mingw32/5.4.0/include/c++/*
|
||||
|
||||
cd "$OLDPWD"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
TOOLCHAIN_DIR=$(head -n 1 /etc/kos32-gcc/install-path)
|
||||
|
||||
MESSAGE="PATH=\$PATH:$TOOLCHAIN_DIR\win32\bin"
|
||||
MESSAGE="PATH=\$PATH:$TOOLCHAIN_DIR/win32/bin"
|
||||
|
||||
if grep -q '$MESSAGE' /etc/profile; then
|
||||
sudo sed -i '/$MESSAGE/d' /etc/profile
|
||||
|
Loading…
Reference in New Issue
Block a user