summaryrefslogtreecommitdiff
path: root/sysutils/puppetserver7/files/patch-ext__ezbake-functions.sh
blob: bd4d0a1c26b7b6f2dceaed723b6b1284626628dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ext/ezbake-functions.sh.orig	2019-09-17 14:05:56 UTC
+++ ext/ezbake-functions.sh
@@ -126,7 +126,7 @@ init_restart_file()
     local group="${GROUP:-puppet}"
 
     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