summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/opengnsys_update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh
index 0f562335..6468fd7f 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -1195,7 +1195,7 @@ function updateOgClient()
if [ -e $INSTALL_TARGET/client/ogClient/cfg/ogclient.json ]; then
rm -f ogClient-"$BRANCH"/cfg/ogclient.json
fi
- mv -f "ogClient-$BRANCH" $INSTALL_TARGET/client/ogClient
+ rsync -irplt "ogClient-$BRANCH/" $INSTALL_TARGET/client/ogClient
rm -f ogclient.zip
echoAndLog "${FUNCNAME}(): ogClient code was downloaded and updated"