Blame view

update_amda/cleanExistingInstallation 948 Bytes
4c77b9b1   Elena.Budnik   final update
1
2
3
#!/bin/bash

if test $AMDAINSTALLATION/AMDA_IHM/generic_data
0577d36f   Elena.Budnik   new location for ...
4
5
6
7
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
4c77b9b1   Elena.Budnik   final update
8
9
10
11
12
13
14
15
16
17
18
19
20
	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

4c77b9b1   Elena.Budnik   final update
21
22
23
24
25
26
27
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