Line 162... |
Line 162... |
162 |
cp -r ./${TMP_DIR}/backend/* ${BACKEND_PLUGINDIR}
|
162 |
cp -r ./${TMP_DIR}/backend/* ${BACKEND_PLUGINDIR}
|
163 |
fi
|
163 |
fi
|
164 |
##################################################################################################################################################
|
164 |
##################################################################################################################################################
|
165 |
# Deleting temporary files
|
165 |
# Deleting temporary files
|
166 |
# rm -rf ${TMP_DIR}
|
166 |
# rm -rf ${TMP_DIR}
|
167 |
rm -rf ${GEO_DB}
|
167 |
# rm -rf ${GEO_DB}
|
168 |
rm -rf ${GEOv6_DB}
|
168 |
# rm -rf ${GEOv6_DB}
|
169 |
|
169 |
|
170 |
# Check whether an old SURFmap version was found and ask whether frontend configuration and data structures should be retained
|
170 |
# Check whether an old SURFmap version was found and ask whether frontend configuration and data structures should be retained
|
171 |
if [ $INSTALL_FRONTEND = 1 -a -d ${SURFMAP_BACKUPDIR_FRONTEND} ]; then
|
171 |
if [ $INSTALL_FRONTEND = 1 -a -d ${SURFMAP_BACKUPDIR_FRONTEND} ]; then
|
172 |
OLD_VER=$(cat ${SURFMAP_BACKUPDIR_FRONTEND}/version.php | grep -m1 \$version | awk '{print $3}' | cut -d"\"" -f2)
|
172 |
OLD_VER=$(cat ${SURFMAP_BACKUPDIR_FRONTEND}/version.php | grep -m1 \$version | awk '{print $3}' | cut -d"\"" -f2)
|
173 |
if [ ${OLD_VER} = ${SURFMAP_VER} ]; then
|
173 |
if [ ${OLD_VER} = ${SURFMAP_VER} ]; then
|