#!/usr/bin/env bash # # Copyright (c) Contributors to the Open 3D Engine Project. # For complete copyright and license terms please see the LICENSE at the root of this distribution. # # SPDX-License-Identifier: Apache-2.0 OR MIT # # set -o errexit # exit on the first failure encountered { # We dont remove this symlink that we potentially created because the user could have # installed themselves. #if [[ -L "/usr/lib/x86_64-linux-gnu/libffi.so.6" ]]; then # sudo rm /usr/lib/x86_64-linux-gnu/libffi.so.6 #fi pushd @CPACK_PACKAGING_INSTALL_PREFIX@ # delete python downloads rm -rf python/downloaded_packages python/runtime find . -type d -name *.egg-info -prune -exec rm -rf {} \; popd } &> /dev/null # hide output