-if [ x$WAIT = "xtrue" ]; then
- $APTGET $OPTS "$APT_OPT0" "$APT_OPT1" -d dselect-upgrade
- echo $"Press enter to continue." && read RES
- $APTGET $OPTS "$APT_OPT0" "$APT_OPT1" dselect-upgrade
+if [ "$WAIT" = "true" ]; then
+ $APTGET $DSELECT_UPGRADE_OPTS $OPTS "$APT_OPT0" "$APT_OPT1" -d dselect-upgrade
+ echo $"Press [Enter] to continue." && read RES
+ $APTGET $DSELECT_UPGRADE_OPTS $OPTS "$APT_OPT0" "$APT_OPT1" dselect-upgrade