apt
This commit is contained in:
@@ -26,3 +26,13 @@ apt-get()
|
|||||||
/usr/bin/apt-get --no-install-recommends "$@"
|
/usr/bin/apt-get --no-install-recommends "$@"
|
||||||
fi
|
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
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user