ports/databases/puppetdb/7/patches/patch-ext_ezbake-functions_sh

13 lines
552 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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