mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 11:15:56 +00:00
Use recursive remove and clean for apt (OPS-508)
This commit is contained in:
committed by
Manoj doshi
parent
5214b3c1b0
commit
63eeb8d734
@@ -34,7 +34,8 @@ if [ "${pkgtype}" = "dpkg" ] ; then
|
||||
echo "deb ${REPO_ROOT}/${DEB_REPO} ${DISTRO} ${COMPONENT}" >> /etc/apt/sources.list
|
||||
# sometimes update fails and requires a cleanup
|
||||
if ! apt -y update ; then
|
||||
rm -vf /var/lib/apt/lists/*
|
||||
rm -rvf /var/lib/apt/lists/*
|
||||
apt-get clean
|
||||
apt -y update
|
||||
fi
|
||||
apt-get -y install rippled
|
||||
|
||||
Reference in New Issue
Block a user