EnglishFrenchSpanish

Ad


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
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • 2
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 3
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 4
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 5
    SCons
    SCons
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • 6
    PSeInt
    PSeInt
    PSeInt is a pseudo-code interpreter for
    spanish-speaking programming students.
    Its main purpose is to be a tool for
    learning and understanding the basic
    concep...
    Download PSeInt
  • More »

Linux commands

  • 1
    7z
    7z
    7z - A file archiver with highest
    compression ratio ...
    Run 7z
  • 2
    7za
    7za
    7za - A file archiver with highest
    compression ratio ...
    Run 7za
  • 3
    creepy
    creepy
    CREEPY - A geolocation information
    aggregator DESCRIPTION: creepy is an
    application that allows you to gather
    geolocation related information about
    users from ...
    Run creepy
  • 4
    cricket-compile
    cricket-compile
    cricket - A program to manage the
    collection and display of time-series
    data ...
    Run cricket-compile
  • 5
    g-wrap-config
    g-wrap-config
    g-wrap-config - script to get
    information about the installed version
    of G-Wrap ...
    Run g-wrap-config
  • 6
    g.accessgrass
    g.accessgrass
    g.access - Controls access to the
    current mapset for other users on the
    system. If no option given, prints
    current status. KEYWORDS: general, map
    management, p...
    Run g.accessgrass
  • More »

Ad