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

Delete symlinks on Cloudready before install (#4810)

* Delete symlinks on Cloudready before install
parent 12e05fe7
......@@ -34,6 +34,11 @@ esac
# This will allow things to work without sudo
sudo chown -R "$(id -u)":"$(id -g)" "${CREW_PREFIX}"
# Delete 'var' symlink on Cloudready platform
if [[ $(grep neverware /etc/lsb-release) != "" ]]; then
sudo rm -rf /usr/local/var
sudo rm -rf /usr/local/local
fi
# prepare directories
for dir in "${CREW_CONFIG_PATH}/meta" "${CREW_DEST_DIR}" "${CREW_PACKAGES_PATH}"; do
......
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