Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Warden
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pavel Valach
Warden
Commits
231fbc86
Commit
231fbc86
authored
11 years ago
by
Tomáš Plesník
Browse files
Options
Downloads
Patches
Plain Diff
pridany uvozovky k promennym
parent
9e18463a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/warden-server/sh/install.sh
+7
-7
7 additions, 7 deletions
src/warden-server/sh/install.sh
with
7 additions
and
7 deletions
src/warden-server/sh/install.sh
+
7
−
7
View file @
231fbc86
...
@@ -97,7 +97,7 @@ paramsChck()
...
@@ -97,7 +97,7 @@ paramsChck()
oldPackageChck
()
oldPackageChck
()
{
{
echo
-n
"Checking previous Warden server installation ... "
echo
-n
"Checking previous Warden server installation ... "
old_package_version_file
=
$(
find
$basedir
-name
package_version
)
old_package_version_file
=
$(
find
"
$basedir
"
-name
package_version
)
if
[
-f
"
$old_package_version_file
"
]
;
then
if
[
-f
"
$old_package_version_file
"
]
;
then
echo
"FAILED!"
echo
"FAILED!"
echo
echo
...
@@ -198,8 +198,8 @@ while getopts "d:k:c:a:s:Vh" options; do
...
@@ -198,8 +198,8 @@ while getopts "d:k:c:a:s:Vh" options; do
done
done
# remove last char (slash) from name of directories
# remove last char (slash) from name of directories
[[
$basedir
==
*
/
]]
&&
basedir
=
"
${
basedir
%?
}
"
[[
"
$basedir
"
==
*
/
]]
&&
basedir
=
"
${
basedir
%?
}
"
[[
$symbin
==
*
/
]]
&&
symbin
=
"
${
symbin
%?
}
"
[[
"
$symbin
"
==
*
/
]]
&&
symbin
=
"
${
symbin
%?
}
"
# params test
# params test
paramsChck
paramsChck
...
@@ -222,13 +222,13 @@ apache_conf_tmpl="${dirname}/etc/warden-apache.conf.tmpl"
...
@@ -222,13 +222,13 @@ apache_conf_tmpl="${dirname}/etc/warden-apache.conf.tmpl"
watchdog_conf_tmpl
=
"
${
dirname
}
/etc/warden-watchdog.conf.tmpl"
watchdog_conf_tmpl
=
"
${
dirname
}
/etc/warden-watchdog.conf.tmpl"
package_version
=
$(
<
"
${
dirname
}
/etc/package_version"
)
package_version
=
$(
<
"
${
dirname
}
/etc/package_version"
)
manifest
=
"
${
dirname
}
/doc/MANIFEST"
manifest
=
"
${
dirname
}
/doc/MANIFEST"
manifest
=
"
${
dirname
}
/doc/MANIFEST"
echo
echo
echo
"----------------------- Checking for Dependencies -----------------------"
echo
"----------------------- Checking for Dependencies -----------------------"
# check if warden-server is installed
# check if warden-server is installed
[[
!
-z
$basedir
]]
&&
[[
-d
$basedir
]]
&&
oldPackageChck
[[
!
-z
"
$basedir
"
]]
&&
[[
-d
"
$basedir
"
]]
&&
oldPackageChck
# Perl interpreter test
# Perl interpreter test
perlChck
perlChck
...
@@ -269,8 +269,8 @@ doTemplate \
...
@@ -269,8 +269,8 @@ doTemplate \
# create MANIFEST file
# create MANIFEST file
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
"
]]
&&
[[
-d
"
$symbin
"
]]
&&
[[
-w
"
$symbin
"
]]
&&
createSymlinks
echo
echo
echo
"Please check configuration files:"
echo
"Please check configuration files:"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment