This commit is contained in:
TomasM
2017-10-15 11:40:56 -04:00
parent c0d8991c0d
commit a5a9da6783
+10
View File
@@ -26,3 +26,13 @@ apt-get()
/usr/bin/apt-get --no-install-recommends "$@"
fi
}
apt()
{
if [ -e /var/cache/apt/pkgcache.bin ]; then
/usr/bin/apt --no-install-recommends "$@"
else
/usr/bin/apt update
/usr/bin/apt --no-install-recommends "$@"
fi
}