]>
git.saurik.com Git - apt.git/blob - dselect/update
4 # Get the configuration from /etc/apt/apt.conf
6 APTGET
="/usr/bin/apt-get"
7 APTCACHE
="/usr/bin/apt-cache"
9 CACHEDIR
="/var/cache/apt"
10 RES
=`apt-config shell OPTS DSelect::UpdateOptions \
11 DPKG Dir::Bin::dpkg APTGET Dir::Bin::apt-get \
12 APTCACHE Dir::Bin::apt-cache CACHEDIR Dir::Cache`
17 echo "Merging Available information"
18 rm -f /var
/cache
/apt
/available
19 $APTCACHE dumpavail
> $CACHEDIR/available
20 $DPKG --update-avail $CACHEDIR/available
21 rm -f $CACHEDIR/available