~ubuntu-branches/ubuntu/oneiric/debhelper/oneiric-proposed

« back to all changes in this revision

Viewing changes to dh_movefiles

  • Committer: Bazaar Package Importer
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2011-07-02 00:04:09 UTC
  • mfrom: (1.4.28 sid)
  • Revision ID: james.westby@ubuntu.com-20110702000409-hdc41wh3amddu4bg
Tags: 8.9.0ubuntu1
* Merge with Debian (LP: #801884); remaining changes:
  - dh_installinit: Add --upstart-only and --onlyscripts-upstart modes.
  - Add various autoscripts for above: postinst-upstart,
    postinst-upstart-replace, postinst-upstart-restart,
    prerm-upstart, prerm-upstart-norestart, preinst-removeconffile.
  - dh_installudev: Change default init.d symlink priority to 40.
  - dh_installchangelogs: Do not install upstream changelog in compat level
    7. This floods packages with huge upstream changelogs which take
    precious CD space.
  - add dh_apparmor and autoscripts
  - debian/rules: set executable bit for dh_apparmor before actually running
    dh build, that is in order to get the manpage built for dh_apparmor.
  - dh_installinit: drop redundant definition of -O.
  - debian/control: dpkg-dev dependency needs to be on 1.16.0~ubuntu4 for
    multiarch, not just 1.16.0~.

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
                complex_doit("(cd $sourcedir >/dev/null ; tar --create --files-from=$pwd/debian/movelist --file -) | (cd $tmp >/dev/null ;tar xpf -)");
154
154
                # --remove-files is not used above because tar then doesn't
155
155
                # preserve hard links
156
 
                complex_doit("(cd $sourcedir >/dev/null ; tr '\\n' '\\0' < $pwd/debian/movelist | xargs -0  -i rm -f '{}')");
 
156
                complex_doit("(cd $sourcedir >/dev/null ; tr '\\n' '\\0' < $pwd/debian/movelist | xargs -0 rm -f)");
157
157
                doit("rm","-f","debian/movelist");
158
158
        }
159
159
}