mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-25 09:41:29 +00:00
Fixed wonky indentation
This commit is contained in:
parent
f84d92d76f
commit
f5d3233c64
@ -124,7 +124,7 @@ reduce_pass_size () {
|
|||||||
(cd $parent_pass_dir && find . ! -type d -printf "%h/%f|%s|%y|%U|%G|%m\n"|sort > $list_parent)
|
(cd $parent_pass_dir && find . ! -type d -printf "%h/%f|%s|%y|%U|%G|%m\n"|sort > $list_parent)
|
||||||
|
|
||||||
# Only iterate on common files with same type, owner, permission and size
|
# Only iterate on common files with same type, owner, permission and size
|
||||||
comm -12 $list_pass $list_parent|cut -d'|' -f1|while read f; do
|
comm -12 $list_pass $list_parent|cut -d'|' -f1|while read f; do
|
||||||
# If file contents are different, keep it
|
# If file contents are different, keep it
|
||||||
if ! diff --brief --no-dereference "$pass_dir/$f" "$parent_pass_dir/$f" >/dev/null; then
|
if ! diff --brief --no-dereference "$pass_dir/$f" "$parent_pass_dir/$f" >/dev/null; then
|
||||||
continue
|
continue
|
||||||
@ -134,8 +134,8 @@ reduce_pass_size () {
|
|||||||
rm "$pass_dir/$f"
|
rm "$pass_dir/$f"
|
||||||
done
|
done
|
||||||
|
|
||||||
rm $list_pass
|
rm $list_pass
|
||||||
rm $list_parent
|
rm $list_parent
|
||||||
}
|
}
|
||||||
|
|
||||||
create_chroot_pass () {
|
create_chroot_pass () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user