Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
user-manual
manual-packaging
Commits
0313e356
Commit
0313e356
authored
Jun 30, 2012
by
Melissa Draper
Browse files
Use exit not exit -1
parent
f1b07b3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
maharadocs-1.5/debian/maharadocs.postinst
View file @
0313e356
...
...
@@ -47,13 +47,13 @@ then
echo
"
${
bold
}
The directory '/var/www/
$DIRNAME
' already exists."
echo
"We were not told to overwrite, so we will not."
echo
"Exiting now. Retry with the overwrite option.
${
normal
}
"
exit
-1
exit
fi
fi
fi
# Make our lovely new install from the git address.
# Despite all our checking, this can fail horribly after a long wait;
# Despite all our checking, this can fail horribly after a long wait;
# there's not really much we can do about that now.
cd
/var/www/
echo
"Downloading the manual into /var/www/
$DIRNAME
from gitorious.org:"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment