Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Jul 22, 2024
1 parent af6abfc commit 711db8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mods-available/reposerver.mod
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ function send_installed_packages_status
if [ -f "/usr/bin/dnf" ];then
dnf repoquery -q -a --installed --qf="%{name} %{epoch}:%{version}-%{release}.%{arch}" > "$INSTALLED_PACKAGES_TMP"
else
repoquery -q -a --installed --qf="%{name} %{epoch}:%{version}-%{release}.%{arch}" > "$INSTALLED_PACKAGES_TMP"
repoquery -a --installed --qf="%{name} %{epoch}:%{version}-%{release}.%{arch}" > "$INSTALLED_PACKAGES_TMP"
fi
fi
# Cas Debian
Expand Down Expand Up @@ -1297,7 +1297,7 @@ function send_available_packages_status
if [ -f "/usr/bin/dnf" ];then
dnf repoquery -q --upgrades --latest-limit 1 -a --qf="%{name} %{epoch}:%{version}-%{release}.%{arch}" --upgrades > "$AVAILABLE_PACKAGES_TMP"
else
repoquery -q -a --qf="%{name} %{epoch}:%{version}-%{release}.%{arch}" --pkgnarrow=updates > "$AVAILABLE_PACKAGES_TMP"
repoquery -a --qf="%{name} %{epoch}:%{version}-%{release}.%{arch}" --pkgnarrow=updates > "$AVAILABLE_PACKAGES_TMP"
fi
fi
# Cas Debian
Expand Down
2 changes: 1 addition & 1 deletion src/02_check-packages-before-update
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function checkPackagesBeforeUpdate
if [ -f "/usr/bin/dnf" ];then
dnf repoquery -q --upgrades --latest-limit 1 -a --qf="%{name} %{version}-%{release}.%{arch} %{repoid}" --upgrades >> "$CHECK_UPDATE_TMP"
else
repoquery -q -a --qf="%{name} %{version}-%{release}.%{arch} %{repoid}" --pkgnarrow=updates > "$CHECK_UPDATE_TMP"
repoquery -a --qf="%{name} %{version}-%{release}.%{arch} %{repoid}" --pkgnarrow=updates > "$CHECK_UPDATE_TMP"
fi
fi
if [ "$OS_FAMILY" == "Debian" ];then
Expand Down

0 comments on commit 711db8a

Please sign in to comment.