13 lines
552 B
Text
13 lines
552 B
Text
|
Index: ext/ezbake-functions.sh
|
||
|
--- ext/ezbake-functions.sh.orig
|
||
|
+++ ext/ezbake-functions.sh
|
||
|
@@ -126,7 +126,7 @@ init_restart_file()
|
||
|
local group="${GROUP:-puppetdb}"
|
||
|
|
||
|
if [ ! -e "$restartfile" ]; then
|
||
|
- /usr/bin/install --directory --owner=$user --group=$group --mode=755 "$restart_file_base_dir"
|
||
|
+ /usr/bin/install -d -o $user -g $group -m 755 "$restart_file_base_dir"
|
||
|
if [ $? -ne 0 ]; then
|
||
|
echo "Unable to create or set permissions for restart file at ${restart_file_base_dir}" 1>&2
|
||
|
return 1
|