summaryrefslogtreecommitdiff
path: root/dh_installudev
AgeCommit message (Collapse)AuthorFilesLines
2017-07-07Dh_Lib: Embed tool versions into auto-generated snippetsNiels Thykier1-0/+2
Use $main::VERSION to determine the version of the tool and embed that into auto-generated snippets (e.g. via autoscript). This enables lintian to extract the tool + version and display it on: https://lintian.debian.org/tags/debhelper-autoscript-in-maintainer-scripts.html Signed-off-by: Niels Thykier <niels@thykier.net>
2017-07-03Set Emacs file variables directory-wideSven Joachim1-6/+0
Set the local variables for Emacs in the central placed intended for it, rather than in (currently) 95 individual files. Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02Refactor install_dir usage to avoid the "if -d " testsNiels Thykier1-3/+1
They were not needed in the first place (as "install -d" DTRT). Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-02dh_installudev: Remove unused variableNiels Thykier1-1/+0
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-05-30Drop all uses of autoscripts/*-moveconffileNiels Thykier1-16/+0
The transition for these must have been completed with Wheezy (and probably even Squeeze). Signed-off-by: Niels Thykier <niels@thykier.net>
2015-07-01Migrate to use warnings and use parentNiels Thykier1-1/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-08Migrate some calls to use the new install_X subsMartin Koeppe1-2/+2
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-01-01Add editor hints to the end of all perl modules and scriptsNiels Thykier1-0/+6
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-15corrent docs; rules.d file is not a symlinkJoey Hess1-1/+1
2013-05-05dh: Skips running commands that it can tell do nothing.Joey Hess1-0/+2
This is determined by the presence of special PROMISE directives within commands that provide a high-level description of the command. Note that when dh is passed additional debhelper options, it cannot tell if these change the behavior of commands, and so it stops skipping any commands.
2011-04-22Typo's in documentation regarding {pre,post}{inst,rm}Jeroen Schot1-1/+1
2010-11-02Apply manual pages conventionsDavid Prévot1-8/+8
As advised in man(1), always use: B<bold text> type exactly as shown. I<italic text> replace with appropriate argument. s/debian/Debian/ if needed. s/ / / also. s/perl/Perl/ s/python/Python/ and s/emacs/Emacs/ too.
2009-09-14dh_installudev: With --name, install debian/<package>.<name>.udev to ↵Joey Hess1-1/+5
rules.d/<priority>-<name>, the same as debian/<name>.udev is installed for the first package. Closes: #546337
2009-09-04Add FILES sections to man pages. Closes: #545041Joey Hess1-5/+12
2009-08-21dh_installudev transitionJoey Hess1-11/+26
* dh_installudev: Install rules files into new location /lib/udev/rules.d/ * dh_installudev: Add code to delete old conffiles unless they're modified, and in that case, rename them to override the corresponding file in /lib/udev. (Based on patch by Martin Pitt.) (Note that this file will not be deleted on purge -- I can't see a good way to determine when it's appropriate to do that.) * dh_installudev: Set default priority to 60; dropping the "z". If --priority=zNN is passed, treat that as priority NN. * Above Closes: #491117 * dh_installudev: Drop code handling move of /etc/udev/foo into /etc/udev/rules.d/.
2009-03-02conffile moving idiocyJoey Hess1-2/+3
* dh_installmodules: Give files in /etc/modprobe.d a .conf syntax, as required by new module-init-tools. * dh_installmodules: Add preinst and postinst code to handle cleanly renaming the modprobe.d files on upgrade. * Two updates to conffile moving code from wiki: - Support case where the conffile name is a substring of another conffile's name. - Support case where dpkg-query says the file is obsolete.
2008-04-24Fix pod.Florian Ragwitz1-2/+2
2008-04-23dh_prep: New program, does the same as dh_clean -k (which will be deprecated ↵Joey Hess1-1/+1
later).
2007-05-31r2004: file. (Thanks Wakko)joeyh1-1/+1
* Use dpkg-query to retrieve conffile info in udev rules upgrade code rather than parsing status directly. (Thanks Guillem)
2007-04-16r1992: * Fix absurd typo. How did I test for an hour and miss that? Closes: ↵joeyh1-2/+2
#419612
2007-04-12r1985: cleanupjoeyh1-2/+4
2007-04-12r1984: * dh_installudev: Install udev rules directly into ↵joeyh1-18/+12
/etc/udev/rules.d/, not using the symlinks. MD has agreed that this is more appropriate for most packages. * That fixes the longstanding bug that the symlink was only made on brand new installs of the package, rather than on upgrade to the first version that includes the udev rules file. Closes: #359614 * dh_installudev: Add preinst and postinst code to handle cleanly moving the rules file to the new location on upgrade. * This would be a good time for the many packages that manage rules files w/o using dh_installudev to begin to use it..
2007-01-21r1970: * dh_installudev: Support debian/udev files. Closes: #381854joeyh1-0/+3
2007-01-21r1968: * dh_fixperms: Make all files in /usr/include 644, not only .h files.joeyh1-2/+2
Closes: #404785 * Man page improvements. Closes: #406707
2006-04-18r1908: * dh_installudev: Include rules.d directory so symlink can be made even5.0.32joeyh1-2/+2
before udev is installed. Closes: #363307
2006-04-17r1905: * dh_installxfonts: pass --x11r7-layout to update-fonts-* commands to ↵joeyh1-2/+1
ensure they use the right new directory. Closes: #362820 * dh_installxfonts: also, alias files have moved from /etc/X11/fonts/* to /etc/X11/fonts/X11R7/*, update call to update-fonts-alias and the man page accordingly; packages containing alias files will need to switch to the new directory on their own. * dh_installudev: correct documentation for --name. Closes: #363028 * Fix broken directory removal code.
2006-02-23r1881: * Add dh_installudev by Marco d'Itri.joeyh1-0/+100