summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
Diffstat (limited to 'dselect')
-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"