projects
/
invirt/packages/invirt-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mkdir -p works if the directory already exists, so drop an unnecessary
[invirt/packages/invirt-dev.git]
/
debian
/
invirt-dev.init
diff --git
a/debian/invirt-dev.init
b/debian/invirt-dev.init
index
4888008
..
a12cac3
100755
(executable)
--- a/
debian/invirt-dev.init
+++ b/
debian/invirt-dev.init
@@
-30,9
+30,7
@@
do_start()
gen_files || ret=2
for d in db dists lists pool; do
dir="/srv/repository/$d"
- if ! [ -e "$dir" ]; then
- mkdir -p "$dir"
- fi
+ mkdir -p "$dir"
chown -R repository:nogroup "$dir"
done
reprepro-env export || ret=2