Skip to content
Snippets Groups Projects
Commit 3e3eb039 authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

pridana kontrola dostupnosti aplikace Rsync v OS

parent 9a278d24
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,19 @@ perlChck()
}
rsyncChck()
{
echo -n "Checking Rsync ... "
if which rsync 1> /dev/null; then
echo "OK"
else
echo "FAILED!"
echo "Error: Rsync is not installed!"
exit 1
fi
}
modulesChck()
{
for module in ${modules[@]};
......@@ -356,6 +369,9 @@ echo "------------------------- Dependencies check-in -------------------------"
# Perl interpreter test
perlChck
# Rsync availability test
rsyncCheck
# Perl modules test
modulesChck
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment