Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/check
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-09-14 15:09:51 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-09-14 15:09:51 +0200
commitb10e18c0939d693bc833425110e615d6bba7908a (patch)
treefc6a594f3c807905ca1e7e1167d3e070f0044bc7 /bin/check
parente9a7c61175caf1e7fca688fe69443b509335a2af (diff)
showing tables in arch style now
Diffstat (limited to 'bin/check')
-rwxr-xr-xbin/check4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/check b/bin/check
index f711bc6..ea8b6de 100755
--- a/bin/check
+++ b/bin/check
@@ -31,8 +31,8 @@ for duplicate in `find "${state_dir}"/{core,extra}-{any,x86_64} -type f | \
rev | cut -f 1 -d / | rev | sort | uniq -D | uniq`; do
for packages in `ls ${state_dir}/{core,extra}-{any,x86_64}/$duplicate 2>/dev/null`; do
for instance in `echo $packages | rev | cut -f 1,2 -d / | rev`; do
- echo -n "${instance} " >> "${data_dir}/duplicates"
- cat "${state_dir}/$instance" >> "${data_dir}/duplicates"
+ echo -n "${instance}\t" >> "${data_dir}/duplicates"
+ cat "${state_dir}/$instance" | tr -s ' ' '\t' >> "${data_dir}/duplicates"
done
done
done