freebsd-ports/sysutils/apt/files/patch-dselect_update
Martin Wilke dbc44398c0 APT is the Debian project's advanced front-end for dpkg. APT features complete
installation ordering, multiple source capability and several other unique
features.

WWW: http://packages.debian.org/apt

PR:		ports/105563
Submitted by:	Nick Barkas <snb at threerings.net>
2007-02-11 23:00:35 +00:00

20 lines
676 B
Text

--- dselect/update.orig Thu Mar 2 06:06:31 2006
+++ dselect/update Wed Oct 25 15:20:34 2006
@@ -7,13 +7,13 @@
# Get the configuration from /etc/apt/apt.conf
CLEAN="prompt"
OPTS="-f"
-APTGET="/usr/bin/apt-get"
-APTCACHE="/usr/bin/apt-cache"
-DPKG="/usr/bin/dpkg"
+APTGET="@PREFIX@/bin/apt-get"
+APTCACHE="@PREFIX@/bin/apt-cache"
+DPKG="@LOCALBASE@/bin/dpkg"
DPKG_OPTS="--admindir=$1"
APT_OPT0="-oDir::State::status=$1/status"
APT_OPT1="-oDPkg::Options::=$DPKG_OPTS"
-CACHEDIR="/var/cache/apt"
+CACHEDIR="@APTDIR@/cache"
PROMPT="false"
RES=`apt-config shell CLEAN DSelect::Clean OPTS DSelect::UpdateOptions \
DPKG Dir::Bin::dpkg/f APTGET Dir::Bin::apt-get/f \