diff --git a/plugins/apache/versions/2.4/install.sh b/plugins/apache/versions/2.4/install.sh index 9997d73e2..b584de87c 100644 --- a/plugins/apache/versions/2.4/install.sh +++ b/plugins/apache/versions/2.4/install.sh @@ -136,6 +136,16 @@ Install_App() make -j${cpuCore} && make install && make clean + + if [ -d ${apacheDir}/apr-${APR_VERSION} ];then + rm -rf ${apacheDir}/apr-${APR_VERSION} + fi + + if [ -d ${apacheDir}/apr-util-${APR_UTIL_VERSION} ];then + rm -rf ${apacheDir}/apr-util-${APR_UTIL_VERSION} + fi + + echo 'installation of apache completed' }