Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/nit-picker
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-08 10:41:22 +0200
committerErich Eckner <git@eckner.net>2019-08-08 10:41:22 +0200
commit61330b44bd639d988956353f884bd9c8fed7fecc (patch)
tree791993eb38feee5b72d2f0d95911e15730aa5af7 /bin/nit-picker
parent9ff726e961142f73593895f858cf0d40cbff6c59 (diff)
bin/nit-picker: silence "gpg: WARNING: unsafe ownership on homedir '/etc/pacman.d/gnupg'"
Diffstat (limited to 'bin/nit-picker')
-rwxr-xr-xbin/nit-picker20
1 files changed, 11 insertions, 9 deletions
diff --git a/bin/nit-picker b/bin/nit-picker
index 24f274d..a4fdab2 100755
--- a/bin/nit-picker
+++ b/bin/nit-picker
@@ -119,15 +119,15 @@ while pgrep -x ii >/dev/null \
printf ' WHERE `repositories`.`is_on_master_mirror`'
printf ';\n'
- printf 'SELECT DISTINCT'
- printf ' "binary-dependencies",'
- mysql_package_name_query
- printf ' FROM `binary_packages`'
- mysql_join_binary_packages_architectures
- mysql_join_binary_packages_binary_packages_in_repositories
- mysql_join_binary_packages_in_repositories_repositories
- printf ' WHERE `repositories`.`is_on_master_mirror`'
- printf ';\n'
+# printf 'SELECT DISTINCT'
+# printf ' "binary-dependencies",'
+# mysql_package_name_query
+# printf ' FROM `binary_packages`'
+# mysql_join_binary_packages_architectures
+# mysql_join_binary_packages_binary_packages_in_repositories
+# mysql_join_binary_packages_in_repositories_repositories
+# printf ' WHERE `repositories`.`is_on_master_mirror`'
+# printf ';\n'
} | \
mysql_run_query | \
tr '\t' ' ' | \
@@ -289,6 +289,7 @@ while pgrep -x ii >/dev/null \
if [ -z "${error_message}" ]; then
for expiration in $(
gpg --batch --homedir /etc/pacman.d/gnupg --with-colons --list-keys "0x${gpg_key}" \
+ 2>/dev/null \
| grep '^\(sub\|pub\):' \
| cut -d: -f7
); do
@@ -299,6 +300,7 @@ while pgrep -x ii >/dev/null \
"${gpg_key}" \
"$(
gpg --batch --homedir /etc/pacman.d/gnupg --with-colons --list-keys "0x${gpg_key}" \
+ 2>/dev/null \
| grep '^\(uid\):' \
| cut -d: -f10
)" \