diff --git a/roles/autofs/files/usercache.csh b/roles/autofs/files/usercache.csh index 138f485..48a0c5c 100644 --- a/roles/autofs/files/usercache.csh +++ b/roles/autofs/files/usercache.csh @@ -8,6 +8,6 @@ if ($uid > 999 && "`/usr/bin/id -gn`" == "`/usr/bin/id -un`") then endif setenv XDG_CACHE_HOME "${XDG_RUNTIME_DIR}/.cache" if ( ! -d "${XDG_CACHE_HOME}" ) then - install -d -m 0700 "${XDG_CACHE_HOME}" + mkdir -m 0700 "${XDG_CACHE_HOME}" endif endif diff --git a/roles/autofs/files/usercache.sh b/roles/autofs/files/usercache.sh index 84cd0b4..b413f45 100644 --- a/roles/autofs/files/usercache.sh +++ b/roles/autofs/files/usercache.sh @@ -9,6 +9,6 @@ if [ $UID -gt 999 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then fi export XDG_CACHE_HOME="$XDG_RUNTIME_DIR/.cache" if [ ! -d "$XDG_CACHE_HOME" ] ; then - install -d -m 0700 "$XDG_CACHE_HOME" + mkdir -m 0700 "$XDG_CACHE_HOME" fi fi