Create simlink for winepath.
This commit is contained in:
parent
9298f38603
commit
410296f4ff
@ -19,7 +19,7 @@ popd
|
|||||||
sudo mkdir -p /usr/local/bin
|
sudo mkdir -p /usr/local/bin
|
||||||
echo -e '#!/bin/bash\nsetarch linux32 -L /opt/wine/bin/wine "$@"' | sudo tee /usr/local/bin/wine > /dev/null
|
echo -e '#!/bin/bash\nsetarch linux32 -L /opt/wine/bin/wine "$@"' | sudo tee /usr/local/bin/wine > /dev/null
|
||||||
sudo chmod 755 /usr/local/bin/wine
|
sudo chmod 755 /usr/local/bin/wine
|
||||||
for i in wineboot winecfg wineserver ; do
|
for i in wineboot winecfg winepath wineserver ; do
|
||||||
sudo ln -s /opt/wine/bin/"$i" /usr/local/bin/"$i"
|
sudo ln -s /opt/wine/bin/"$i" /usr/local/bin/"$i"
|
||||||
sudo chmod 755 /usr/local/bin/"$i"
|
sudo chmod 755 /usr/local/bin/"$i"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user