From 9509c47b3390e4a65fdaf0054d117d81839ad7ed Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Wed, 15 May 2019 15:23:07 +0900 Subject: [PATCH] chg: [apt] Disable fancy progress bar fix: [deploy] The chksum code had a bug --- deploy.sh | 2 +- scripts/users.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index f257f0c..38e8b0b 100755 --- a/deploy.sh +++ b/deploy.sh @@ -143,7 +143,7 @@ think () { checkInstaller () { /usr/bin/wget -q -O scripts/INSTALL.sh.sfv https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh.sfv rhash_chk=$(cd scripts ; ${RHASH_RUN} -c INSTALL.sh.sfv > /dev/null 2>&1; echo $?) - for sum in $(echo ${SHA_SUMS} |sed 's/--sha//'); do + for sum in $(echo ${SHA_SUMS} |sed 's/--sha//g'); do /usr/bin/wget -q -O scripts/INSTALL.sh.sha${sum} https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/INSTALL.sh.sha${sum} INSTsum=$(shasum -a ${sum} scripts/INSTALL.sh | cut -f1 -d\ ) chsum=$(cat scripts/INSTALL.sh.sha${sum} | cut -f1 -d\ ) diff --git a/scripts/users.sh b/scripts/users.sh index 6e146d9..50f599e 100644 --- a/scripts/users.sh +++ b/scripts/users.sh @@ -9,3 +9,6 @@ echo "--- Configuring sudo " echo "%misp ALL=(ALL:ALL) NOPASSWD:ALL" > /etc/sudoers.d/misp ##chmod 0440 /etc/sudoers.d/thehive chmod 0440 /etc/sudoers.d/misp + +# Disable fancy progressbar +echo 'Dpkg::Progress-Fancy "0";' > /etc/apt/apt.conf.d/99progressbar