Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
20 lines
676 B
Text
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 \
|