mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 10:35:50 +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
|
echo "deb ${REPO_ROOT}/${DEB_REPO} ${DISTRO} ${COMPONENT}" >> /etc/apt/sources.list
|
||||||
# sometimes update fails and requires a cleanup
|
# sometimes update fails and requires a cleanup
|
||||||
if ! apt -y update ; then
|
if ! apt -y update ; then
|
||||||
rm -vf /var/lib/apt/lists/*
|
rm -rvf /var/lib/apt/lists/*
|
||||||
|
apt-get clean
|
||||||
apt -y update
|
apt -y update
|
||||||
fi
|
fi
|
||||||
apt-get -y install rippled
|
apt-get -y install rippled
|
||||||
|
|||||||
Reference in New Issue
Block a user