EnglishFrenchSpanish

OnWorks favicon

dh_usrlocal - Online in the Cloud

Run dh_usrlocal in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dh_usrlocal that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


dh_usrlocal - migrate usr/local directories to maintainer scripts

SYNOPSIS


dh_usrlocal [debhelper options] [-n]

DESCRIPTION


dh_usrlocal is a debhelper program that can be used for building packages that will
provide a subdirectory in /usr/local when installed.

It finds subdirectories of usr/local in the package build directory, and removes them,
replacing them with maintainer script snippets (unless -n is used) to create the
directories at install time, and remove them when the package is removed, in a manner
compliant with Debian policy. These snippets are inserted into the maintainer scripts by
dh_installdeb. See dh_installdeb(1) for an explanation of debhelper maintainer script
snippets.

If the directories found in the build tree have unusual owners, groups, or permissions,
then those values will be preserved in the directories made by the postinst script.
However, as a special exception, if a directory is owned by root.root, it will be treated
as if it is owned by root.staff and is mode 2775. This is useful, since that is the group
and mode policy recommends for directories in /usr/local.

OPTIONS


-n, --noscripts
Do not modify postinst/prerm scripts.

NOTES


Note that this command is not idempotent. dh_prep(1) should be called between invocations
of this command. Otherwise, it may cause multiple instances of the same text to be added
to maintainer scripts.

CONFORMS TO


Debian policy, version 2.2

Use dh_usrlocal online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 5
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 6
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • More »

Linux commands

Ad