mirror of https://github.com/MISP/misp-packer
chg: [apt] Disable fancy progress bar
fix: [deploy] The chksum code had a bugpull/23/head
parent
5c8b58117c
commit
9509c47b33
|
@ -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\ )
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue