File indexing completed on 2025-01-05 04:00:17
0001 #!/bin/bash 0002 0003 # Script to cleanup installation of KF5 framework from the MXE install. 0004 # 0005 # SPDX-FileCopyrightText: 2015-2024 by Gilles Caulier <caulier dot gilles at gmail dot com> 0006 # 0007 # SPDX-License-Identifier: BSD-3-Clause 0008 # 0009 0010 # Halt and catch errors 0011 set -eE 0012 trap 'PREVIOUS_COMMAND=$THIS_COMMAND; THIS_COMMAND=$BASH_COMMAND' DEBUG 0013 trap 'echo "FAILED COMMAND: $PREVIOUS_COMMAND"' ERR 0014 0015 ################################################################################################# 0016 # Pre-processing checks 0017 0018 cd .. 0019 . ./common.sh 0020 . ./config.sh 0021 0022 echo $MXE_INSTALL_PREFIX 0023 0024 rm -vfr $MXE_INSTALL_PREFIX/lib/libKF5* 0025 rm -vfr $MXE_INSTALL_PREFIX/share/ECM 0026 rm -vfr $MXE_INSTALL_PREFIX/include/KF5 0027 rm -vfr $MXE_INSTALL_PREFIX/lib/cmake/KF5* 0028 rm -vfr $MXE_INSTALL_PREFIX/include/astro 0029 rm -vfr $MXE_INSTALL_PREFIX/include/marble 0030 rm -vfr $MXE_INSTALL_PREFIX/data 0031 rm -vfr $MXE_INSTALL_PREFIX/lib/marble 0032 rm -vfr $MXE_INSTALL_PREFIX/lib/libastro* 0033 rm -vfr $MXE_INSTALL_PREFIX/lib/libmarble* 0034 #rm -vfr $MXE_INSTALL_PREFIX/lib/cmake/Marble 0035 #rm -vfr $MXE_INSTALL_PREFIX/lib/cmake/Astro