Changeset 2635 for trunk/packages


Ignore:
Timestamp:
Dec 17, 2009, 8:49:28 PM (15 years ago)
Author:
broder
Message:

mkdir -p works if the directory already exists, so drop an unnecessary
if statement in the invirt-dev initscript.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dev/debian/invirt-dev.init

    r2634 r2635  
    3131    for d in db dists lists pool; do
    3232        dir="/srv/repository/$d"
    33         if ! [ -e "$dir" ]; then
    34             mkdir -p "$dir"
    35         fi
     33        mkdir -p "$dir"
    3634        chown -R repository:nogroup "$dir"
    3735    done
Note: See TracChangeset for help on using the changeset viewer.