Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
user-manual
manual-packaging
Commits
535cd567
Commit
535cd567
authored
Feb 26, 2013
by
Melissa Draper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for the installing/cleanup
parent
78a34770
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
maharadocs-1.7/debian/maharadocs.config
maharadocs-1.7/debian/maharadocs.config
+2
-0
maharadocs-1.7/debian/maharadocs.postinst
maharadocs-1.7/debian/maharadocs.postinst
+1
-1
maharadocs-1.7/debian/maharadocs.postrm
maharadocs-1.7/debian/maharadocs.postrm
+7
-5
maharadocs-1.7/debian/maharadocs.templates
maharadocs-1.7/debian/maharadocs.templates
+1
-1
No files found.
maharadocs-1.7/debian/maharadocs.config
View file @
535cd567
...
...
@@ -4,6 +4,8 @@ set -e
db_input
high
maharadocs
/
installdir
||
true
db_go
db_input
high
maharadocs
/
logdir
||
true
db_go
db_input
high
maharadocs
/
giturl
||
true
db_go
db_input
high
maharadocs
/
overwrite
||
true
...
...
maharadocs-1.7/debian/maharadocs.postinst
View file @
535cd567
...
...
@@ -13,7 +13,7 @@ case "$1" in
db_get maharadocs/giturl
GITURL
=
$RET
db_get maharadocs/logdir
OVERWRITE
DIR
=
$RET
LOG
DIR
=
$RET
db_get maharadocs/overwrite
OVERWRITEDIR
=
$RET
;;
...
...
maharadocs-1.7/debian/maharadocs.postrm
View file @
535cd567
...
...
@@ -21,15 +21,17 @@ set -e
case
"
$1
"
in
upgrade
)
purge|
upgrade
)
;;
purge|
remove|failed-upgrade|abort-install|abort-upgrade|disappear
)
remove|failed-upgrade|abort-install|abort-upgrade|disappear
)
db_get maharadocs/installdir
DIRNAME
=
$RET
if
[
$DIRNAME
!
eq
'/'
]
;
rm
-rf
$DIRNAME
fi
echo
"Disabling apache site config"
a2dissite mahara-manual-sphinx.conf
echo
"Removing apache site config"
rm
-f
/etc/apache2/sites-available/mahara-manual-sphinx.conf
echo
"NOTE: The directory
$DIRNAME
has not been removed and must be deleted manually!"
;;
*
)
...
...
maharadocs-1.7/debian/maharadocs.templates
View file @
535cd567
...
...
@@ -9,7 +9,7 @@ Description: Installation directory:
Template: maharadocs/logdir
Type: string
Default: /var/log/sitelogs/mahara-manual-sphinx
Description:
Installation
directory:
Description:
Apache access/error logs
directory:
What directory should the apache sitelogs for the manual be
put in? This directory should not exist when installing
for the first time.
...
...
Write
Preview
Markdown
is supported
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