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"
$DPKG --update-avail $CACHEDIR/available
rm -f $CACHEDIR/available
-if [ $PROMPT == "yes" ]; then
+if [ $PROMPT = "yes" ]; then
echo "Press enter to continue." && read RES;
fi