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
7864211c
Commit
7864211c
authored
10 years ago
by
Tomáš Plesník
Browse files
Options
Downloads
Patches
Plain Diff
bugfix: vypisovani chybovych hlasek rm pri vraceni zmen; chybova hlaska oznacena prefixem Error:
parent
a6b5ad4f
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
+5
-5
5 additions, 5 deletions
src/warden-server/sh/install.sh
with
5 additions
and
5 deletions
src/warden-server/sh/install.sh
+
5
−
5
View file @
7864211c
...
@@ -42,7 +42,7 @@ version()
...
@@ -42,7 +42,7 @@ version()
err
()
err
()
{
{
echo
"FAILED!"
echo
"FAILED!"
cat
"
$err
"
echo
-n
"Error: "
&&
cat
"
$err
"
rm
-f
"
$err
"
rm
-f
"
$err
"
echo
echo
echo
"Installation of
$package_version
package FAILED!!!"
echo
"Installation of
$package_version
package FAILED!!!"
...
@@ -53,15 +53,15 @@ err()
...
@@ -53,15 +53,15 @@ err()
errClean
()
errClean
()
{
{
echo
"FAILED!"
echo
"FAILED!"
echo
-n
"Error: "
&&
cat
"
$err
"
echo
" -> Uninstalling server package ..."
echo
" -> Uninstalling server package ..."
for
file
in
$(
<
"
$manifest
"
)
for
file
in
$(
<
"
$manifest
"
)
do
do
rm
-f
"
${
basedir
}
/
$file
"
rm
-f
"
${
basedir
}
/
$file
"
2> /dev/null
directory
=
"
${
file
%/*
}
"
directory
=
"
${
file
%/*
}
"
rmdir
--ignore-fail-on-non-empty
"
${
basedir
}
/
$directory
"
rmdir
--ignore-fail-on-non-empty
"
${
basedir
}
/
$directory
"
2> /dev/null
done
done
rm
-f
"
${
basedir
}
/uninstall.sh"
rm
-f
"
${
basedir
}
/uninstall.sh"
2> /dev/null
cat
"
$err
"
rm
-f
"
$err
"
rm
-f
"
$err
"
echo
echo
echo
"Installation of
$package_version
package FAILED!!!"
echo
"Installation of
$package_version
package FAILED!!!"
...
...
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