Compare commits

...

2 Commits

2
ne
View File

@ -65,7 +65,7 @@ $(which cp) $file /tmp/copia_check_nginx_${USER} #$(which cat) $file > /tmp/copi
[[ $? -eq 1 ]] && printf "File $file not found, exiting\n" && exit 1 [[ $? -eq 1 ]] && printf "File $file not found, exiting\n" && exit 1
#qua command -v e non which per silent quando fallisce #qua command -v e non which per silent quando fallisce
[[ ! -e $(command -v $text_editor) ]] && echo "$program_privileges is not installed" && exit 3 [[ ! -e $(command -v $text_editor) ]] && echo "$text_editor is not installed" && exit 3
[[ ! -e $(command -v $program_privileges) ]] && echo "$program_privileges is not installed" && exit 4 [[ ! -e $(command -v $program_privileges) ]] && echo "$program_privileges is not installed" && exit 4
$program_privileges $text_editor $file $program_privileges $text_editor $file
diff --color=always $file /tmp/copia_check_nginx_${USER} diff --color=always $file /tmp/copia_check_nginx_${USER}