summaryrefslogtreecommitdiff
path: root/dselect/update
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:13 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:13 +0000
commit5b8c90bf2216cc819f3eb99387d88d4a712059d9 (patch)
treed9c30997f165c0d7e6444ac1c66281ae5764532f /dselect/update
parent35c22def87d657492c0db70746391b000753c8ed (diff)
Fixed dumpavail some more
Author: jgg Date: 1999-03-18 04:52:51 GMT Fixed dumpavail some more
Diffstat (limited to 'dselect/update')
-rwxr-xr-xdselect/update3
1 files changed, 3 insertions, 0 deletions
diff --git a/dselect/update b/dselect/update
index ec5e78cc2..87dc21aa1 100755
--- a/dselect/update
+++ b/dselect/update
@@ -14,6 +14,9 @@ RES=`apt-config shell OPTS DSelect::UpdateOptions \
PROMPT DSelect::PromptAfterUpdate`
eval $RES
+# It looks slightly ugly to have a double / in the dpkg output
+CACHEDIR=`echo $CACHEDIR | sed -e "s|/$||"`
+
$APTGET $OPTS update
echo "Merging Available information"