Changeset dd65f17


Ignore:
Timestamp:
Apr 8, 2012 8:35:30 PM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
4141973
Parents:
d888d48
Message:

Debian: Explicitly create the home directory in the postinst

Older versions of adduser create it automatically. The version in Debian unstable apparently does not…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debian/i2p.postinst

    rd888d48 rdd65f17  
    6262        mv -f /etc/i2p/wrapper.config.tmp /etc/i2p/wrapper.config
    6363
     64    # Older versions of adduser created the home directory.
     65    # The version of adduser in Debian unstable does not.
     66    [ -d $I2PHOME ] || mkdir -m0750 $I2PHOME
     67
    6468    # Create user and group as a system user.
    6569    if getent passwd i2psvc > /dev/null 2>&1 ; then
Note: See TracChangeset for help on using the changeset viewer.