#!/bin/bash if test $AMDAINSTALLATION/AMDA_IHM/generic_data then rm $AMDAINSTALLATION/AMDA_IHM/generic_data/MissionInfo/*.xml rm $AMDAINSTALLATION/AMDA_IHM/generic_data/InstrumentInfo/*.xml rm $AMDAINSTALLATION/AMDA_IHM/generic_data/DataSetInfo/*.xml rm $AMDAINSTALLATION/AMDA_IHM/generic_data/ParamInfo/*.xml rm $AMDAINSTALLATION/AMDA_IHM/generic_data/ParamTemplate/*.xml rm $AMDAINSTALLATION/AMDA_IHM/generic_data/newKernelDDBase/*.xml else echo "check if AMDA_IHM/generic_data directory exists" fi if test $AMDAINSTALLATION/AMDA_IHM/generic_data/help/auto then rm $AMDAINSTALLATION/AMDA_IHM/help/auto/* rm $AMDAINSTALLATION/AMDA_IHM/help/auto/img/* fi if test $AMDAINSTALLATION/AMDA_Kernel/app-generate-paraminfo then rm -r $AMDAINSTALLATION/AMDA_Kernel/app-generate-paraminfo/src/* rm $AMDAINSTALLATION/AMDA_Kernel/app-generate-paraminfo/lib/* else "check if AMDA_Kernel/app-generate-paraminfo directory exists" fi