Add missing 'cache' command

This commit is contained in:
Steve McIntyre 2013-03-07 07:29:59 +00:00
parent 38ec979060
commit 075a74d33a
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ DI_DIR="$(echo "$DI_DIR" | sed -e "s|%ARCH%|$ARCH|g")"
# Find out what the default desktop is in tasksel if we've not set it # Find out what the default desktop is in tasksel if we've not set it
# (i.e. using "all" for netinst, DVD etc.) - print the name of the # (i.e. using "all" for netinst, DVD etc.) - print the name of the
# first desktop task recommended by task-desktop # first desktop task recommended by task-desktop
UNSPEC_DESKTOP_DEFAULT="$($BASEDIR/tools/apt-selection depends task-desktop | \ UNSPEC_DESKTOP_DEFAULT="$($BASEDIR/tools/apt-selection cache depends task-desktop | \
awk '/Recommends:.*desktop/ { gsub("task-","");gsub("-desktop","");print $2; exit}')" awk '/Recommends:.*desktop/ { gsub("task-","");gsub("-desktop","");print $2; exit}')"
# Only i386 and amd64 support desktop selection with the 'light' and 'all' # Only i386 and amd64 support desktop selection with the 'light' and 'all'