Commit 006c30a9 authored by Michael Shigorin's avatar Michael Shigorin

01-genbasedir: dropped dup cleanup

This was pulled from mkimage-profiles-desktop as is, and so far is useless (addons, ltsp are out of scope yet). When reintroduced, it'd better be done as a separate script.
parent 5c571b9a
......@@ -11,24 +11,6 @@ verbose started
[ -d "$WORKDIR/ALTLinux" ] || exit 0
cd "$WORKDIR/ALTLinux"
# FIXME: m-p-d legacy
set -- contrib-main addon-main ltsp-main
for pair; do
slave=${pair%-*}
master=${pair#*-}
verbose "slave=$slave master=$master"
[ -d "RPMS.$master" ] || continue
find "RPMS.$master" -mindepth 1 -maxdepth 1 -type f -name '*.rpm' -printf "RPMS.$slave/%f\\0" |
xargs -r0 rm -fv --
done
#We always put RPMS.addon on separate disk
if [ -d RPMS.addon ] ; then
rm -fr RPMS.main
INFO_LABEL="Addon"
fi
comps="$(find -mindepth 1 -maxdepth 1 -type d -name 'RPMS.*' -printf '%f\n' |
sed 's/^RPMS\.//')"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment