index : checker | |
Archlinux32 consistency checker | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2024-09-14 15:09:51 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2024-09-14 15:09:51 +0200 |
commit | b10e18c0939d693bc833425110e615d6bba7908a (patch) | |
tree | fc6a594f3c807905ca1e7e1167d3e070f0044bc7 /bin/check | |
parent | e9a7c61175caf1e7fca688fe69443b509335a2af (diff) |
-rwxr-xr-x | bin/check | 4 |
@@ -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 |