Age | Commit message (Collapse) | Author | Files | Lines |
|
While making postrm-ucf more like the other autoscripts I introduced two typo's
in the code. This patch fixes them.
|
|
Here is a patch against the master branch that adds such a command
called dh_installucf. It also registers the conffiles with ucfr and
removes stray ucf-{new,old,dist} files on purge.
|
|
|
|
dh_installdeb: Support debian/package.maintscript files, which can contain
dpkg-maintscript-helper commands. This can be used to automate moving or
removing conffiles, or anything added to dpkg-maintscript-helper later on.
Closes: #574443 (Thanks, Colin Watson)
|
|
#586065
|
|
Starting from 2.28.1-2, the gconf2 package uses triggers which make the
maintainer scripts obsolete.
|
|
|
|
* 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/.
|
|
as that is now triggerized. Adds a dependency via misc:Depends to handle
partial upgrades. Note that while dh_installinfo already required that info
files had a INFO-DIR-SECTION, the new system also requires they have
START-INFO-DIR-ENTRY and END-INFO-DIR-ENTRY for proper registration. I
assume there will be some mass bug filing for any packages that do not have
that. Closes: #528864
|
|
/usr. Closes: #531035
|
|
|
|
Closes: #523474 (also Closes: #521960, #407701 as no longer applicable)
|
|
stable, menu does not need to be explicitly run in maintainer scripts, except for packages with menu-methods files. (See #473467)"
This reverts commit 651be44c078b91112bf18d87d3629d23beb1a5c7.
Conflicts:
debian/changelog
|
|
supports triggers in stable.
|
|
menu does not need to be explicitly run in maintainer scripts, except for packages with menu-methods files. (See #473467)
|
|
* 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.
|
|
|
|
in the prerm, and instead restarts it in the postinst, keeping its downtime minimal. Since some daemons could break if files are upgraded while they're running, it's not the default. It might become the default in a future (v8) compatability level. Closes: #471060
|
|
call update-icon-caches command. Thanks, Josselin Mouette.
|
|
debian/*.modutils files. Warn about such files. Closes: #443127
|
|
Closes: #432824
|
|
Holbach.
Closes: #432321
|
|
to Josselin Mouette, Ross Burton, Jordi Mallach, and Loïc Minier.
Closes: #329460
* Note that as a transitional measure, dh_icons will currently only update
existing caches, and not create and new caches. Once everything is
updating the icon caches, this will be changed. See #329460 for the full
plan.
|
|
* Use dpkg-query to retrieve conffile info in udev rules upgrade code
rather than parsing status directly. (Thanks Guillem)
|
|
- man page handling was supposed to be v6 only and was not
- typo in alternatives call
- use the basename of the wm to get the man page name
Closes: #420158
* dh_installwm: Also make the code to find the man page more robust and
fall back to not registering a man page if it is not found.
|
|
|
|
|
|
/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..
|
|
preinst and postinst scripts. For example, if a package uses
dh_pysupport before dh_installinit, the prerm will first stop the init
script and then remove the python files.
* Introducing beginning of v6 mode.
* dh_installwm: In v6 mode, install a slave manpage link for
x-window-manager.1.gz. Done in v6 mode because some window managers
probably work around this longstanding debhelper bug by registering the
slave on their own. This bug was only fixable once programs moved out of
/usr/X11R6. Closes: #85963
* dh_builddeb: In v6 mode, fix bug in DH_ALWAYS_EXCLUDE handling, to work
the same as all the other code in debhelper. This could only be fixed in
v6 mode because packages may potentially legitimately rely on the old
buggy behavior. Closes: #242834
* dh_installman: In v6 mode, overwrite exsiting man pages. Closes: #288250
|
|
initial
package install. Closes: #415717
|
|
Closes: #406921
|
|
* dh_installinfo: Put the section madness to bed by not passing any section
information to install-info. Current install-info parses INFO-DIR-SECTION
on its own if that's not specified. Closes: #337215
|
|
|
|
upgrade,
in case an upgrade involves moving fonts around (or removing or renaming
fonts). Closes: #372686
|
|
module
package is installed for a kernel other than the running kernel, just
running depmod -a in the postinst is no longer sufficient. Instead, run
depmod -a -F /boot/System.map-<kvers> <kvers>
The kernel version is guessed at based on the path to the modules in the
package. Closes: #301424
* Note: behavior change due to the above: The mere existence of a
debian/package.modules file will no longer make dh_installmodules add code
to maintainer scripts.
* Untested.
|
|
|
|
python-support for packages providing private modules or python-only
modules, since python policy hasn't been updated for this yet.
Closes: #347758
|
|
|
|
|
|
|
|
script fragments.
|
|
|
|
|
|
|
|
update-modules to indicate /etc/modules.conf is not automatically
generated, we can ignore that return code since it's not a condition that
should fail an installation. Closes: #165400
|
|
|
|
|
|
any more
(#258901)
|
|
* Strip spoch when generating udeb filenames. Closes: #258864
|
|
schemas from /etc/gconf/schemas. (Josselin Mouette)
* dh_gconf: kill gconfd-2 so that the newly installed schemas
are available straight away. (Josselin Mouette)
* dh_gconf: fix bashism in restart of gconfd-2
* dh_gconf: fix innaccuracy in man page; gconfd-2 is HUPPed, not
killed.
* dh_scrollkeeper: stop adding scrollkeeper to misc:Depends, since
the postinst will not run it if it's not installed, and a single run after
it's installed is sufficient to find all documents. Closes: #256745
* dh_fixperms: make .ali files mode 444 to prevent recompilation by GNAT.
For speed, only scan for .ali files in usr/lib/ada. Closes: #245211
* dh_python: check to make sure compileall.py is available before running it
in the postinst. Closes: #253112
* dh_installmodules: install debian/package.modprobe into etc/modprobe.d/
for module-init-tools. These files can sometimes need to differ from the
etc/modutils/ files. Closes: #204336, #234495
* dh_installmanpages is now deprecated.
* Add a test case for bug #244157, and fixed the inverted ok() parameters
in the others, and added a few new tests.
* dh_link: applied GOTO Masanori's patch to fix conversion of existing
relative symlinks between top level directories. Closes: #244157
|