Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
scripts
mahara-scripts
Commits
3902b5fe
Commit
3902b5fe
authored
Nov 24, 2010
by
Richard Hector
Browse files
bugfixes: postinst, postrm, dependencies
parent
da503114
Changes
4
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
3902b5fe
mahara-scripts (0.3) unstable; urgency=low
* fix bug (postinst created the wrong log dir, postrm deleted it)
* add dependency on apache2
-- Richard Hector <richard@catalyst.net.nz> Wed, 24 Nov 2010 16:29:17 +1300
mahara-scripts (0.2) unstable; urgency=low
* Initial release.
...
...
debian/control
View file @
3902b5fe
...
...
@@ -7,7 +7,7 @@ Standards-Version: 3.9.1
Package: custom-site-mahara-langpacks
Architecture: all
Depends: php5-cli, perl, bash, debconf, git-core
Depends:
apache2,
php5-cli, perl, bash, debconf, git-core
Description: Mahara langpack repository scripts
Scripts to download mahara langpacks from gitorious, clean them up, and
make them available for HTTP download.
debian/custom-site-mahara-langpacks.postinst
View file @
3902b5fe
...
...
@@ -25,8 +25,8 @@ case "$1" in
if
[
!
-d
/var/lib/mahara-langpacks
]
;
then
mkdir
/var/lib/mahara-langpacks
fi
if
[
!
-d
/var/log/mahara-langpacks
]
;
then
mkdir
/var/log/mahara-langpacks
if
[
!
-d
/var/log/
apache2/
mahara-langpacks
]
;
then
mkdir
/var/log/
apache2/
mahara-langpacks
fi
echo
"DATA=/var/lib/mahara-langpacks"
>
/etc/mahara-langpacks.conf
...
...
debian/custom-site-mahara-langpacks.postrm
View file @
3902b5fe
...
...
@@ -21,7 +21,7 @@ case "$1" in
rm
-f
/etc/mahara-langpacks.conf
rm
-rf
/var/lib/mahara-langpacks
rm
-rf
/var/www/mahara-langpacks
rm
-rf
/var/log/mahara-langpacks
rm
-rf
/var/log/
apache2/
mahara-langpacks
rm
-f
/etc/apache2/sites-available/mahara-langpacks.conf
;;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment