소스 검색

Update npm_update.sh

remove junk
tteckster 2 년 전
부모
커밋
d521a3c682
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      misc/npm_update.sh

+ 1 - 3
misc/npm_update.sh

@@ -54,7 +54,6 @@ function msg() {
   local TEXT="$1"
   echo -e "$TEXT"
 }
-T="$(date +%M)"
 
 if [ -f /lib/systemd/system/npm.service ]; then
   echo -en "${GN} Prep For Update... "
@@ -168,10 +167,9 @@ systemctl enable npm &>/dev/null
 systemctl start openresty
 systemctl start npm
 echo -e "${CM}${CL} \r"
-TS="$(($(date +%M) - T))"
 
 IP=$(hostname -I | cut -f1 -d ' ')
-echo -e "${GN}Successfully Updated Nginx Proxy Manager to ${RD}${RELEASE}${CL} and it took ${RD}${TS} minutes.${CL}
+echo -e "${GN}Successfully Updated Nginx Proxy Manager to ${RD}${RELEASE}${CL}.
                NPM should be reachable at ${BL}http://${IP}:81 ${CL}
                   
                   "