Fixed substract -> subtract

sil2100/core18-pi3-arm64
Jean-Baptiste Lallement 6 years ago
parent 15cacaee96
commit e0d30dd2d3

@ -141,13 +141,13 @@ add_layered_pass_delta() {
local seed_regexp="$3"
if [ -z "${seed_regexp}" ]; then
substract_package_lists ${2} "" >> config/package-lists/livecd-rootfs.removal-list.chroot_${1}_no-${2}
subtract_package_lists ${2} "" >> config/package-lists/livecd-rootfs.removal-list.chroot_${1}_no-${2}
return
fi
for seed in $(ls config/germinate-output/|grep -P "$seed_regexp"); do
pass=${1}_${seed}
substract_package_lists ${2} ${seed} >> config/package-lists/livecd-rootfs.removal-list.chroot_$pass
subtract_package_lists ${2} ${seed} >> config/package-lists/livecd-rootfs.removal-list.chroot_$pass
done
}

@ -592,11 +592,11 @@ list_packages_from_seed () {
done|sort -u
}
substract_package_lists() {
# Substract a package list from another
subtract_package_lists() {
# Subtract a package list from another
#
# $1 source package list
# $2 Package list to substract from source package list
# $2 Package list to subtract from source package list
local list1=$(mktemp)
local list2=$(mktemp)

Loading…
Cancel
Save