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

podminky rp spusteni funkce createSymlinks presunuty do tela funkce; upravena...

podminky rp spusteni funkce createSymlinks presunuty do tela funkce; upravena informativni hlaska funkce
parent 1387000c
No related branches found
No related tags found
No related merge requests found
...@@ -175,7 +175,7 @@ createManifest() ...@@ -175,7 +175,7 @@ createManifest()
createSymlinks() createSymlinks()
{ {
echo -n "Creating symbolic links to $symbin ..." echo -n "Checking symbolic links directory $symbin ... "
if [[ -d $symbin && -w $symbin ]]; then if [[ -d $symbin && -w $symbin ]]; then
echo "OK" echo "OK"
for file in "${bin}/"* for file in "${bin}/"*
...@@ -282,7 +282,10 @@ doTemplate \ ...@@ -282,7 +282,10 @@ doTemplate \
createManifest createManifest
# crate symlinks from warden server bin to user path (if -s option is set) # crate symlinks from warden server bin to user path (if -s option is set)
[[ ! -z "$symbin" ]] && [[ -d "$symbin" ]] && [[ -w "$symbin" ]] && createSymlinks [[ ! -z "$symbin" ]] && createSymlinks
echo
echo "------------------------- Summary ---------------------------------------"
echo echo
echo "Please check configuration files:" echo "Please check configuration files:"
......
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