summaryrefslogtreecommitdiff
path: root/autoscripts
Commit message (Collapse)AuthorAge
* dh_installcatalogs: Adjust catalog conffile conversion to avoid dpkg ↵Joey Hess2012-08-30
| | | | conffile prompt when upgrading from a removed package. Closes: #81194
* dh_installcatalogs: Turn /etc/sgml/$package.cat into conffiles and introduce ↵Joey Hess2012-05-28
| | | | dependency on trigger-based sgml-base. Closes: #477751 Thanks, Helmut Grohne
* dh_ucf: fix test for ucf/ucfr availability and quote filenamesJeroen Schot2011-08-23
|
* dh_ucf: Fix missing space before ']'s in postrm autoscript.Jeroen Schot2011-04-28
| | | | | While making postrm-ucf more like the other autoscripts I introduced two typo's in the code. This patch fixes them.
* Bug#213078: debhelper: please consider providing dh_ucfJeroen Schot2011-04-25
| | | | | | 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_installinit: never call init scripts directly, only through invoke-rc.dSteve Langasek2011-01-25
|
* maintscript filesJoey Hess2010-11-02
| | | | | | | 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)
* postrm-init: Avoid calling the error handler if update-rc.d fails. Closes: ↵Joey Hess2010-06-16
| | | | #586065
* Remove autoscripts for GConfJosselin Mouette2010-04-10
| | | | | Starting from 2.28.1-2, the gconf2 package uses triggers which make the maintainer scripts obsolete.
* consistent indentJoey Hess2009-12-29
|
* dh_installudev transitionJoey Hess2009-08-21
| | | | | | | | | | | | | | | | * 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/.
* dh_installinfo: No longer inserts install-info calls into maintainer scriptsJoey Hess2009-06-26
| | | | | | | | | 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
* dh_gconf: Remove postrm fragment that handled schema migration from /etc to ↵Joey Hess2009-05-29
| | | | /usr. Closes: #531035
* dh_scrollkeeper: Now a deprecated no-op. Closes: #530806Joey Hess2009-05-27
|
* dh_desktop: Now a deprecated no-op, since desktop-file-utils uses triggers. ↵Joey Hess2009-04-10
| | | | Closes: #523474 (also Closes: #521960, #407701 as no longer applicable)
* Revert "dh_installmenus: Now that a triggers capable menu and dpkg are in ↵Joey Hess2009-03-09
| | | | | | | | | | 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
* dh_installdocs: No longer add maintainer script code to call doc-base, as it ↵Joey Hess2009-03-06
| | | | supports triggers in stable.
* dh_installmenus: Now that a triggers capable menu and dpkg are in stable, ↵Joey Hess2009-03-06
| | | | menu does not need to be explicitly run in maintainer scripts, except for packages with menu-methods files. (See #473467)
* conffile moving idiocyJoey Hess2009-03-02
| | | | | | | | | | | * 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.
* dh_gconf: Support mandatory settings. Closes: #513923Joey Hess2009-02-02
|
* dh_installinit: Add --restart-after-upgrade, which avoids stopping a daemon ↵Joey Hess2008-05-08
| | | | 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
* * dh_icons: Now that GTK 2.12 has entered testing, use the much simpler toJoey Hess2007-11-02
| | | | call update-icon-caches command. Thanks, Josselin Mouette.
* r2030: * dh_installmodules: Since modutils is gone, stop supportingjoeyh2007-09-18
| | | | debian/*.modutils files. Warn about such files. Closes: #443127
* r2017: * dh_icons: Check for index.theme files before updating the cache.joeyh2007-07-13
| | | | Closes: #432824
* r2013: * Remove DOS line endings from dh_icons scriptlets. Thanks, Daniel ↵joeyh2007-07-09
| | | | | | Holbach. Closes: #432321
* r2010: * dh_icons: New program to update Freedesktop icon caches. Thanksjoeyh2007-07-08
| | | | | | | | | 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.
* r2004: file. (Thanks Wakko)joeyh2007-05-31
| | | | | * Use dpkg-query to retrieve conffile info in udev rules upgrade code rather than parsing status directly. (Thanks Guillem)
* r1997: * dh_installwm: Fix several stupid bugs, including:joeyh2007-04-20
| | | | | | | | | - 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.
* r1990: releasing version 5.0.46joeyh2007-04-16
|
* r1985: cleanupjoeyh2007-04-12
|
* r1984: * dh_installudev: Install udev rules directly into ↵joeyh2007-04-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..
* r1980: * prerm and postrm scripts are now generated in a reverse order thanjoeyh2007-04-09
| | | | | | | | | | | | | | | | | 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
* r1978: * dh_installudev: Don't fail if the link already somehow exists on ↵joeyh2007-04-09
| | | | | | initial package install. Closes: #415717
* r1967: * dh_installudev: Fix postrm to not fail if the udev symlink is missing.joeyh2007-01-21
| | | | Closes: #406921
* r1956: * Correct some incorrect instances of "v4 only" in docs. Closes: #381536joeyh2006-11-07
| | | | | | * 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
* r1932: split the scripts for the two cases, undo behavior changejoeyh2006-06-12
|
* r1931: * dh_installxfonts: In postrm, run the deregistraton code even on ↵joeyh2006-06-12
| | | | | | | upgrade, in case an upgrade involves moving fonts around (or removing or renaming fonts). Closes: #372686
* r1929: * dh_installmodules: depmod -a is no longer run during boot, so if a ↵joeyh2006-06-09
| | | | | | | | | | | | | | 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.
* r1881: * Add dh_installudev by Marco d'Itri.joeyh2006-02-23
|
* r1856: * dh_python: Temporarily revert change in 5.0.13 to make use ofjoeyh2006-01-16
| | | | | | python-support for packages providing private modules or python-only modules, since python policy hasn't been updated for this yet. Closes: #347758
* r1845: addjoeyh2006-01-08
|
* r1844: merge python and gconf changes from python-supportjoeyh2006-01-08
|
* r1827: releasing version 5.0.9joey2005-12-08
|
* r1814: * Remove hardcoded pathc to update-modules and gconf-schemas in variousjoey2005-11-08
| | | | script fragments.
* r1809: releasing version 5.0.2joey2005-11-03
|
* r1786: releasing version 4.9.9joey2005-09-22
|
* r1770: releasing version 4.9.3joey2005-06-28
|
* r1746: * dh_installmodules autoscripts: Now that return code 3 is allocated byjoey2005-04-14
| | | | | | 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
* r1737: releasing version 4.2.30joey2005-01-05
|
* r1717: releasing version 4.2.21joey2004-10-12
|