u
This commit is contained in:
@@ -61,9 +61,14 @@ create_dir() {
|
||||
_directory=$1
|
||||
|
||||
mkdir_command="mkdir -p \"${_directory}\""
|
||||
echo "${mkdir_command}"
|
||||
runuser -l ${system_user} -c '${mkdir_command}'
|
||||
|
||||
if ! [ -d "$_directory" ]
|
||||
then
|
||||
echo "error: unable to created the directory '${_directory}'"
|
||||
echo "failed command: '${mkdir_command}'"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
deploy_file() {
|
||||
|
||||
Reference in New Issue
Block a user