File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ function __force_uprade_hippo()
107107 if [ ! -d " $CACHE_ROOT " ]; then
108108 mkdir " $CACHE_ROOT "
109109 else
110- rm -rf " ${CACHE_ROOT:? } / " *
110+ rm -rf " ${CACHE_ROOT} /fs-manager-hippo "
111111 fi
112112
113113 FSM_URL=" https://github.com/RandomCoderOrg/fs-manager-hippo"
Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ BIN_DIR="${TPREFIX}/usr/bin"
66echo " setting hippo..."
77
88if [ -f etc/scripts/hippo/hippo.sh ]; then
9- DIR=" etc/scripts/hippo/hippo.sh"
10- cp ${DIR} ${BIN_DIR} /hippo
9+ FILE=" etc/scripts/hippo/hippo.sh"
10+ if [ -f ${BIN_DIR} /hippo.sh ]; then
11+ rm -rf " ${BIN_DIR} /hippo.sh"
12+ fi
13+ cp ${FILE} ${BIN_DIR} /hippo
1114 chmod 775 ${BIN_DIR} /hippo
1215else
1316 echo " Installation Failed..."
You can’t perform that action at this time.
0 commit comments