From 5dd90ef848e99e86601807fd829f6586dc2ab6fc Mon Sep 17 00:00:00 2001 From: Levente Polyak Date: Thu, 12 Sep 2019 23:34:22 +0200 Subject: checkpkg: add option to print a warning in case of differences Sometimes its desired to be explicitly made aware of differences reporter by checkpkg via printing a warning instead of a regular message. Automatically use --warn for makechrootpkg builds so packagers are made visibly aware of a soname bump by simply looking out for colors indicating non success messages. Signed-off-by: Levente Polyak --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makechrootpkg.in') diff --git a/makechrootpkg.in b/makechrootpkg.in index 4238fc3..f5a0e51 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -412,7 +412,7 @@ else msg2 "Downloading current versions" if pacman --noconfirm -Swdd --logfile /dev/null "${pkgnames[@]}"; then msg2 "Checking packages" - sudo -u "$makepkg_user" checkpkg --rmdir + sudo -u "$makepkg_user" checkpkg --rmdir --warn else warning "Skipped checkpkg due to missing packages" fi -- cgit v1.2.3-24-g4f1b