Compare commits
2 Commits
new_argume
...
master
Author | SHA1 | Date | |
---|---|---|---|
d3ab9d892e | |||
1028c704f2 |
2
ne
2
ne
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user