mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-08 08:32:19 +00:00
Also move the definition next to where it is used
This commit is contained in:
parent
bf5a799935
commit
db5f662019
@ -1209,14 +1209,6 @@ case $SUBPROJECT in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $PROJECT in
|
|
||||||
kubuntu|ubuntu-mate|ubuntu-unity|ubuntukylin)
|
|
||||||
# only used now for the 'minimal-remove' functionality,
|
|
||||||
# which is not used at all in layered images
|
|
||||||
BASE_SEED='desktop'
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ "$PROJECT:${SUBPROJECT:-}" = ubuntu-cpc:minimized ]; then
|
if [ "$PROJECT:${SUBPROJECT:-}" = ubuntu-cpc:minimized ]; then
|
||||||
# We install a lxc script that installs the snap when invoked and
|
# We install a lxc script that installs the snap when invoked and
|
||||||
# don't want any other snaps.
|
# don't want any other snaps.
|
||||||
@ -1232,6 +1224,14 @@ fi
|
|||||||
|
|
||||||
# grab a list of packags to remove for a "minimal" installation from the seed
|
# grab a list of packags to remove for a "minimal" installation from the seed
|
||||||
# mirror for this project
|
# mirror for this project
|
||||||
|
case $PROJECT in
|
||||||
|
kubuntu|ubuntu-mate|ubuntu-unity|ubuntukylin)
|
||||||
|
# only used now for the 'minimal-remove' functionality,
|
||||||
|
# which is not used at all in layered images
|
||||||
|
BASE_SEED='desktop'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ -n "${BASE_SEED}" ]; then
|
if [ -n "${BASE_SEED}" ]; then
|
||||||
minimal_packages_url=${SEEDMIRROR}/${SEED}/${BASE_SEED}.minimal-remove
|
minimal_packages_url=${SEEDMIRROR}/${SEED}/${BASE_SEED}.minimal-remove
|
||||||
echo -n "Checking ${minimal_packages_url} for a minimal installation list... "
|
echo -n "Checking ${minimal_packages_url} for a minimal installation list... "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user