mirror of
https://salsa.debian.org/images-team/debian-cd.git
synced 2024-11-24 15:19:51 -01:00
Initial changes for apt-selection for grab_file
This commit is contained in:
parent
e16d3ea4ca
commit
eb190e34b1
@ -98,6 +98,13 @@ temp=$APTTMP/$CODENAME-$ARCH/temp.apt-selection
|
||||
|
||||
# Launch the command
|
||||
if [ "$1" = "update" ] || [ "$1" = "check" ]; then
|
||||
for section in $sections; do
|
||||
if [ $ARCH = "source" ] ; then
|
||||
grab_file dists/$CODENAME/$section/source/Sources.gz
|
||||
else
|
||||
grab_file dists/$CODENAME/$section/binary-$ARCH/Packages.gz
|
||||
fi
|
||||
done
|
||||
apt-get $options $@
|
||||
exit $?
|
||||
elif [ "$1" = "cache" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user