jitsi-updater.sh: fix jitsi repo package update filtering.

This commit is contained in:
Luis Guzmán 2022-09-30 04:00:42 -05:00
parent 1e8c128c9d
commit f5ebfd0e8e
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ read -r -a jibri_packages < <(grep ^Package /var/lib/apt/lists/download.jitsi.or
xargs)
AVATAR="$(grep -r avatar /etc/nginx/sites-*/ 2>/dev/null)"
if [ -f "$apt_repo"/google-chrome.list ]; then
read -r -a google_package < <(grep Package /var/lib/apt/lists/dl.google.com_*_Packages | \
read -r -a google_package < <(grep ^Package /var/lib/apt/lists/dl.google.com_*_Packages | \
sort -u | awk '{print $2}' | xargs)
else
echo "Seems no Google repo installed"