summaryrefslogtreecommitdiff
path: root/tools/afterinstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/afterinstall.sh')
-rw-r--r--tools/afterinstall.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/afterinstall.sh b/tools/afterinstall.sh
index 16ac790..53e9c27 100644
--- a/tools/afterinstall.sh
+++ b/tools/afterinstall.sh
@@ -80,10 +80,8 @@ restoreComponentConfig(){
for i in $(ls $2);do
if [ 1 -eq `compareMD5 $1/$i $2/$i` ];then
- if [ -f $1/${i} ];then
- echo 'return config file '$1/${i}
- cp -f $2/$i $1/$i
- fi
+ echo 'return config file '$1/${i}
+ cp -f $2/$i $1/$i
fi
done
}