DH_DI_NUMBERS(1)
β¨ DH_DI_NUMBERS β¨
okay bestie, so this is dh_di_numbers from the Debhelper manual, section 1 π and it is literally the little script that could: it installs numbered scripts into package build directories. iconic behavior tbh π
πΈ NAME πΈ
dh_di_numbers β install numbered scripts into package build directories π
π¦ SYNOPSIS π¦
dh_di_numbers [debhelper options] [dir [...] dest]
β¨ DESCRIPTION β¨
dh_di_numbers is a debhelper program, and what it does is install directories full of numbered scripts into package build directories. no cap π«Ά
so here's the tea β inside every one of those directories there's supposed to be a _numbers file, and every line in that file has at least two space-separated fields:
- the first field is a two-digit number. it gets prefixed onto the entry name, and that's how you get ordering inside the directory. slay, organization π
- the second field is the entry name. it must correspond to a file or directory sitting alongside that
_numbersfile. like, it has to actually exist there, no fake entries π - the third field, if it's even there, is another two-digit number. it identifies another entry with the same entry name, and this entry should be a symlink to that one. cute little link moment π
Any additional directory names you pass in as parameters get installed in the package build directory of the first package dh_di_numbers is told to act on. by default that's the first binary package in debian/control β but if you use -p, -i, or -a flags, then it's the first package specified by those flags instead. periodt π
π FILES π
debian/package.di-numbersβ list the directories to install into each package, plus the directory they should be installed to. the format is a set of lines: each line lists a directory or directories to install, and at the end of the line it tells you the directory they should be installed in. the names of the directories to install should be given relative to the current directory, while the installation directory is given relative to the package build directory. and yes, you may use wildcards in the names of the files to install (in v3 mode and above) β¨π
π OPTIONS π
dir [...] destβ lists directories to install and where to install them to. the files will be installed into the first packagedh_di_numbersacts on π«Ά
π SEE ALSO π
This program is a part of dh-di. iykyk π
π AUTHOR π
Colin Watson <cjwatson@debian.org> β king behavior, we love to see it π
and that's the whole page bestie!! this one's from dh-di, version 11build1, dated 2025-12-01 π go install some numbered scripts, you've got this ππ¦π
π¦ where this page comes from
- ubuntu resolute: dh-di 11build1 Β· GPL-2.0-or-later
- ubuntu stonking: dh-di 11build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms