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

odstranena nadbytecna kontrola promenne

parent b9c3e7fa
No related branches found
No related tags found
No related merge requests found
...@@ -181,19 +181,6 @@ modules_chck() ...@@ -181,19 +181,6 @@ modules_chck()
} }
installation_dir_chck()
{
echo -n "Checking installation directory ... "
if [ ! -d $prefix ]; then
echo "FAILED!"
ls $prefix
exit 1
else
echo "OK"
fi
}
make_warden_dir() make_warden_dir()
{ {
echo -n "Creating warden client directory ... " echo -n "Creating warden client directory ... "
...@@ -346,9 +333,6 @@ modules_chck ...@@ -346,9 +333,6 @@ modules_chck
echo echo
echo "------------------------- Installation process --------------------------" echo "------------------------- Installation process --------------------------"
# check installation directory
installation_dir_chck
# make warden client directory # make warden client directory
make_warden_dir make_warden_dir
......
...@@ -165,25 +165,12 @@ modules_chck() ...@@ -165,25 +165,12 @@ modules_chck()
} }
installation_dir_chck()
{
echo -n "Checking installation directory ... "
if [ ! -d $prefix ]; then
echo "FAILED!"
ls $prefix
exit 1
else
echo "OK"
fi
}
warden_dir_chck() warden_dir_chck()
{ {
echo -n "Checking warden client directory ... " echo -n "Checking warden client directory ... "
if [ ! -d $client_path ]; then if [ ! -d $client_path ]; then
echo "FAILED!" echo "FAILED!"
ls $prefix ls $client_path
exit 1 exit 1
else else
echo "OK" echo "OK"
......
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