fix typo
get rid of npm error in update.sh
This commit is contained in:
t3chn0m4g3 2020-06-09 19:08:21 +00:00
parent 4cc1aa08c2
commit dc1ec0f48c

View file

@ -200,10 +200,11 @@ echo "docker.io docker.io/restart boolean true" | debconf-set-selections -
echo "debconf debconf/frontend select noninteractive" | debconf-set-selections -v echo "debconf debconf/frontend select noninteractive" | debconf-set-selections -v
apt-fast -y dist-upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes apt-fast -y dist-upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes
dpkg --configure -a dpkg --configure -a
npm cache clean --force
npm install elasticdump -g npm install elasticdump -g
pip3 install --upgrade yq pip3 install --upgrade yq
# Remove --force switch in the future ... # Remove --force switch in the future ...
pip3 install elasticsearch-curator --force -y pip3 install elasticsearch-curator --force
hash -r hash -r
echo "### Removing and holding back problematic packages ..." echo "### Removing and holding back problematic packages ..."
apt-fast -y purge exim4-base mailutils pcp cockpit-pcp elasticsearch-curator apt-fast -y purge exim4-base mailutils pcp cockpit-pcp elasticsearch-curator