Man page - dh_installalternatives(1)
Packages contains this manual
- dh_installsysusers(1)
- dh_installdeb(1)
- dh_compress(1)
- dh_md5sums(1)
- debhelper(7)
- dh_installsystemduser(1)
- dh_builddeb(1)
- debhelper-compat-upgrade-checklist(7)
- dh_testroot(1)
- dh_installcron(1)
- dh_clean(1)
- dh_bugfiles(1)
- dh_dwz(1)
- dh_installcatalogs(1)
- dh_auto_clean(1)
- dh_installchangelogs(1)
- dh_lintian(1)
- dh_installman(1)
- dh(1)
- dh_movetousr(1)
- dh_assistant(1)
- dh_installdirs(1)
- dh_installudev(1)
- dh_installwm(1)
- dh_installmodules(1)
- dh_link(1)
- dh_fixperms(1)
- dh_installlogrotate(1)
- dh_installdocs(1)
- dh_ucf(1)
- dh_installinitramfs(1)
- dh_systemd_start(1)
- dh_prep(1)
- dh_listpackages(1)
- dh_strip(1)
- dh_movefiles(1)
- dh_installxfonts(1)
- dh_installdebconf(1)
- dh_systemd_enable(1)
- dh_installalternatives(1)
- dh_usrlocal(1)
- dh_auto_configure(1)
- dh_missing(1)
- dh_installinfo(1)
- dh_installmenu(1)
- dh_gencontrol(1)
- dh_install(1)
- dh_update_autotools_config(1)
- dh_auto_build(1)
- dh_installmanpages(1)
- dh_shlibdeps(1)
- dh_testdir(1)
- dh_installifupdown(1)
- dh_perl(1)
- dh_installinit(1)
- dh_installexamples(1)
- dh_icons(1)
- dh_auto_install(1)
- dh_installppp(1)
- dh_installtmpfiles(1)
- dh_installemacsen(1)
- dh_makeshlibs(1)
- dh_installsystemd(1)
- debhelper-obsolete-compat(7)
- dh_installgsettings(1)
- dh_auto_test(1)
- dh_installpam(1)
- dh_installmime(1)
- dh_installlogcheck(1)
apt-get install debhelper
Manual
DH_INSTALLALTERNATIVES
NAMESYNOPSIS
DESCRIPTION
FILES
OPTIONS
SEE ALSO
NAME
dh_installalternatives - install declarative alternative rules
SYNOPSIS
dh_installalternatives [ debhelper options ]
DESCRIPTION
dh_installalternatives is a debhelper program that is responsible for parsing the declarative alternatives format and insert the relevant maintscripts snippets to interface with update-alternatives (1)
FILES
debian/ package .alternatives
An example of the format:
Name: editor
Link: /usr/bin/editor
Alternative: /usr/bin/vim.basic
Dependents:
/usr/share/man/man1/editor.1.gz editor.1.gz
/usr/share/man/man1/vim.1.gz
/usr/share/man/fr/man1/editor.1.gz editor.fr.1.gz
/usr/share/man/fr/man1/vim.1.gz
/usr/share/man/it/man1/editor.1.gz editor.it.1.gz
/usr/share/man/it/man1/vim.1.gz
/usr/share/man/pl/man1/editor.1.gz editor.pl.1.gz
/usr/share/man/pl/man1/vim.1.gz
/usr/share/man/ru/man1/editor.1.gz editor.ru.1.gz
/usr/share/man/ru/man1/vim.1.gz
Priority: 50
The fields Link , Name , Alternative , and Priority are mandatory and correspond to the update-alternatives (1) --install parameters link , name , path , and priority respectively.
The Dependents field is optional and consists of one or more lines. Each non-empty line must contain exactly 3 space separated values that match (in order) the values passed to the --slave parameter for update-alternatives (1).
OPTIONS
-n , --no-scripts
Do not modify postinst / postrm / prerm scripts.
SEE ALSO
debhelper (7)
This program is a part of debhelper.