Various minor bug fixes
[ntk/apt.git] / dselect / update
index ec5e78c..87dc21a 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"