Commit c356f291 authored by supechicken's avatar supechicken Committed by GitHub

Fix symlinks in Cloudready (#5011)

* Update install.sh
Co-authored-by: default avatarsupechicken666 <68530202+supechicken666@users.noreply.github.com>
parent 463605d4
...@@ -42,8 +42,8 @@ esac ...@@ -42,8 +42,8 @@ esac
sudo chown -R "$(id -u)":"$(id -g)" "${CREW_PREFIX}" sudo chown -R "$(id -u)":"$(id -g)" "${CREW_PREFIX}"
# Delete 'var' symlink on Cloudready platform # Delete 'var' symlink on Cloudready platform
if [[ $(grep neverware /etc/lsb-release) != "" ]]; then if [[ $(grep neverware /etc/lsb-release) != "" ]]; then
sudo unlink /usr/local/var [ -L /usr/local/var ] && sudo rm -f /usr/local/var
sudo unlink /usr/local/local [ -L /usr/local/local ] && sudo rm -f /usr/local/local
fi fi
# prepare directories # prepare directories
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment