mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-03 06:01:30 +00:00
Fixed substract -> subtract
This commit is contained in:
parent
15cacaee96
commit
e0d30dd2d3
@ -141,13 +141,13 @@ add_layered_pass_delta() {
|
|||||||
|
|
||||||
local seed_regexp="$3"
|
local seed_regexp="$3"
|
||||||
if [ -z "${seed_regexp}" ]; then
|
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
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for seed in $(ls config/germinate-output/|grep -P "$seed_regexp"); do
|
for seed in $(ls config/germinate-output/|grep -P "$seed_regexp"); do
|
||||||
pass=${1}_${seed}
|
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
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -592,11 +592,11 @@ list_packages_from_seed () {
|
|||||||
done|sort -u
|
done|sort -u
|
||||||
}
|
}
|
||||||
|
|
||||||
substract_package_lists() {
|
subtract_package_lists() {
|
||||||
# Substract a package list from another
|
# Subtract a package list from another
|
||||||
#
|
#
|
||||||
# $1 source package list
|
# $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 list1=$(mktemp)
|
||||||
local list2=$(mktemp)
|
local list2=$(mktemp)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user