From: tierno Date: Thu, 15 Dec 2016 23:22:32 +0000 (+0100) Subject: change installation to checkout the stable tag X-Git-Tag: v1.0.2~1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F799%2F1;p=osm%2Fopenvim.git change installation to checkout the stable tag Change-Id: I780292daffb012460aa378b981424653ee732b78 Signed-off-by: tierno --- diff --git a/scripts/install-openvim.sh b/scripts/install-openvim.sh index 1853d21..2b0f1a4 100755 --- a/scripts/install-openvim.sh +++ b/scripts/install-openvim.sh @@ -298,7 +298,7 @@ if [[ -z $NOCLONE ]]; then su $SUDO_USER -c "git clone ${GIT_URL} ${OPENVIM_BASEFOLDER}" su $SUDO_USER -c "cp ${OPENVIM_BASEFOLDER}/.gitignore-common ${OPENVIM_BASEFOLDER}/.gitignore" - [[ -z $DEVELOP ]] && su $SUDO_USER -c "git -C ${OPENVIM_BASEFOLDER} checkout tags/v1.0.1" + [[ -z $DEVELOP ]] && su $SUDO_USER -c "git -C ${OPENVIM_BASEFOLDER} checkout tags/stable" fi echo ' @@ -431,7 +431,8 @@ echo ' ##### CONFIGURE OPENVIM SERVICE ##### #################################################################' - ${OPENVIM_BASEFOLDER}/scripts/install-openvim-service.sh -f ${OPENVIM_BASEFOLDER} && `[[ -z "$NOCLONE" ]] && echo "-d"` + DELETE_PARAM="" && [[ -z "$NOCLONE" ]] && DELETE_PARAM="-d" + ${OPENVIM_BASEFOLDER}/scripts/install-openvim-service.sh -f ${OPENVIM_BASEFOLDER} ${DELETE_PARAM} # alias service-openvim="service openvim" # echo 'alias service-openvim="service openvim"' >> ${HOME}/.bashrc