diff --git a/scripts/99_deploy.sh b/scripts/99_deploy.sh index 1b00c33..0722b11 100755 --- a/scripts/99_deploy.sh +++ b/scripts/99_deploy.sh @@ -66,8 +66,8 @@ create_dir() { if ! [ -d "$_directory" ] then echo "" - echo "error: unable to created the directory '${_directory}'" - echo "failed command: '${mkdir_command}'" + echo "error: unable to create the directory '${_directory}' as user '${system_user}'" + echo " failed command: '${mkdir_command}'" fi } @@ -343,7 +343,6 @@ if [ ${operation} == "dots" ] ; then # onedrive-gui #file_name=profiles file_path=/home/${system_user}/.config/onedrive-gui - file_path=/home/${system_user}/.config/test create_dir ${file_path} #deploy_file "${dots_trg}/onedrive-gui/${file_name}" "${file_path}/${file_name}" diff --git a/scripts/curae.sh b/scripts/curae.sh index 920d2ed..d9632b6 100755 --- a/scripts/curae.sh +++ b/scripts/curae.sh @@ -25,7 +25,6 @@ this_file=curae.sh # https://stackoverflow.com/questions/18215973/how-to-check-if-running-as-root-in-a-bash-script -#if [ "$EUID" -ne 0 ] if [ $(id -u) -ne 0 ] then echo "error: run as 'root'" exit