summaryrefslogtreecommitdiff
path: root/autoscripts
Commit message (Collapse)AuthorAge
* 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
|
* r1703: * dh_cgonf: deal with problems if /etc/gconf/schemas doesn't exist ↵joey2004-07-12
| | | | | | any more (#258901)
* r1700: * Make dh_gconf postinst more portable.joey2004-07-11
| | | | * Strip spoch when generating udeb filenames. Closes: #258864
* r1695: * dh_gconf: gconf schemas moved to /usr/share/gconf/schemas. Relocatejoey2004-07-08
| | | | | | | | | | | | | | | | | | | | | | | | 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
* r1691: * dh_installinit: Added --error-handler option. Based on work by ↵joey2004-06-29
| | | | | | Thom May. Closes: #209090
* r1658: * dh_installxfonts(1): fix link to policy. Closes: #231918joey2004-02-09
| | | | | | | | * dh_scrollkeeper: patch from Christian Marillat Closes: #231703 - Remove DTD changes since docbook-xml not supports xml catalogs. - Bump scrollkeeper dep to 0.3.14-5. * dh_installinfo: remove info stuff on update as well as remove. Policy is unclear/wrong. Closes: #231937a
* r1650: * dh_scrollkeeper: Make postinst /dev/null stdout of which test.joey2004-01-23
|
* r1635: * Added dh_gconf command from Ross Burton. Closes: #180882joey2004-01-13
| | | | | | | | * dh_scrollkeeper: Make postinst fragment test for scrollkeeper-update. Closes: #225337 * Copyright update. * Include full text of the GPL in the source package, because goodness knows, I need another copy of that in subversion..