From 68051a7b67ec4542c9af6a86d7fe94ac270e29d0 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Tue, 4 Dec 2018 13:13:36 +0800 Subject: [PATCH] Update install.sh --- scripts/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index c608a8572..166989624 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -14,6 +14,9 @@ mkdir -p /www/backup/database mkdir -p /www/backup/site +yum provides '*/applydeltarpm' +yum install deltarpm + yum install -y wget curl unzip zip @@ -32,6 +35,8 @@ pip install -r /www/server/mdserver-web/requirements.txt + + endTime=`date +%s` ((outTime=($endTime-$startTime)/60)) echo -e "Time consumed:\033[32m $outTime \033[0mMinute!" \ No newline at end of file