Fixed dumpavail some more
[apt.git] / dselect / update
index ec5e78cc232d4874a6d720ca12bb5b6097e8f7c9..87dc21aa1d99582bc473829b93166f1307eaa4dc 100755 (executable)
@@ -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"