mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-24 06:50:57 +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
|
fi
|
||||||
#############################################
|
#############################################
|
||||||
PKG_MANAGER="apt-get"
|
PKG_MANAGER="apt-get"
|
||||||
PKG_CACHE="/var/cache/apt"
|
PKG_CACHE="/var/lib/apt/lists/"
|
||||||
UPDATE_PKG_CACHE="$PKG_MANAGER -qq update"
|
UPDATE_PKG_CACHE="$PKG_MANAGER -qq update"
|
||||||
PKG_UPDATE="$PKG_MANAGER upgrade"
|
PKG_UPDATE="$PKG_MANAGER upgrade"
|
||||||
PKG_INSTALL="$PKG_MANAGER --yes --quiet install"
|
PKG_INSTALL="$PKG_MANAGER --yes --quiet install"
|
||||||
|
Loading…
Reference in New Issue
Block a user