~ubuntu-branches/debian/sid/upgrade-system/sid

« back to all changes in this revision

Viewing changes to upgrade-system

  • Committer: Package Import Robot
  • Author(s): Martin-Éric Racine
  • Date: 2012-03-09 17:26:42 UTC
  • Revision ID: package-import@ubuntu.com-20120309172642-r7qj93do6rkb7xqe
Tags: 1.5.4.0
Foolproofed orphaning for a case of both autoremove and deborphan non-empty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
do
123
123
        DEB_ORPHANS=$(deborphan $ORPHANOPTS)
124
124
        ##DEPENDS: deborphan (universe/optional).
125
 
        ORPHANS=${APT_ORPHANS}${DEB_ORPHANS}
 
125
        ORPHANS=${APT_ORPHANS:+$APT_ORPHANS }$DEB_ORPHANS
126
126
        APT_ORPHANS=""
127
127
        case $ORPHANS in
128
128
                "")