mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-08 23:20:56 +00:00
Fixes #768 Check the staleness of the package index instead of the package cache.
This commit is contained in:
parent
33745be745
commit
b157bc5cd7
@ -68,7 +68,7 @@ if [ -x "$(command -v apt-get)" ];then
|
||||
fi
|
||||
#############################################
|
||||
PKG_MANAGER="apt-get"
|
||||
PKG_CACHE="/var/cache/apt"
|
||||
PKG_CACHE="/var/lib/apt/lists/"
|
||||
UPDATE_PKG_CACHE="$PKG_MANAGER -qq update"
|
||||
PKG_UPDATE="$PKG_MANAGER upgrade"
|
||||
PKG_INSTALL="$PKG_MANAGER --yes --quiet install"
|
||||
|
Loading…
Reference in New Issue
Block a user