From 36d22635cfab654964dc569f821d369a374fee73 Mon Sep 17 00:00:00 2001 From: tierno Date: Fri, 16 Dec 2016 00:22:32 +0100 Subject: [PATCH] change installation to checkout the stable tag Change-Id: I780292daffb012460aa378b981424653ee732b78 Signed-off-by: tierno --- scripts/install-openvim.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.25.1