Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
57a441a5
Commit
57a441a5
authored
Aug 12, 2014
by
jkaberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small script to update the mail app
parent
52c50621
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
owncloud.sh
setup/owncloud.sh
+1
-1
zpush.sh
setup/zpush.sh
+1
-1
update_mail_app.sh
tools/update_mail_app.sh
+17
-0
No files found.
setup/owncloud.sh
View file @
57a441a5
...
...
@@ -14,7 +14,7 @@ apt-get purge -qq -y owncloud*
# Install ownCloud from source if it is not already present
# TODO: Check version?
if
[
!
-d
/usr/local/lib/owncloud
]
;
then
echo
I
nstalling ownCloud...
echo
i
nstalling ownCloud...
rm
-f
/tmp/owncloud.zip
wget
-qO
/tmp/owncloud.zip https://download.owncloud.org/community/owncloud-7.0.1.zip
unzip /tmp/owncloud.zip
-d
/usr/local/lib
...
...
setup/zpush.sh
View file @
57a441a5
...
...
@@ -21,7 +21,7 @@ php5enmod imap
# Copy Z-Push into place.
if
[
!
-d
/usr/local/lib/z-push
]
;
then
rm
-f
/tmp/zpush.zip
echo
I
nstalling z-push...
echo
i
nstalling z-push...
wget
-qO
/tmp/zpush.zip https://github.com/fmbiete/Z-Push-contrib/archive/master.zip
unzip /tmp/zpush.zip
-d
/usr/local/lib/
mv
/usr/local/lib/Z-Push-contrib-master /usr/local/lib/z-push
...
...
tools/update_mail_app.sh
0 → 100644
View file @
57a441a5
#!/bin/bash
# Simple script to update the mail app in ownCloud, not needed once it reaches beta+
echo
installing mail app...
rm
-f
/tmp/owncloud_mail.zip
wget
-qO
/tmp/owncloud_mail.zip https://github.com/owncloud/mail/archive/master.zip
unzip /tmp/owncloud_mail.zip
-d
/usr/local/lib/owncloud/apps
mv
/usr/local/lib/owncloud/apps/mail-master /usr/local/lib/owncloud/apps/mail
rm
-f
/tmp/owncloud.zip
echo
installing php composer and mail app dependencies...
curl
-sS
https://getcomposer.org/installer | php
--
--install-dir
=
/usr/local/lib/owncloud/apps/mail
php /usr/local/lib/owncloud/apps/mail/composer.phar
install
--working-dir
=
/usr/local/lib/owncloud/apps/mail
chmod
-R
777 /usr/local/lib/owncloud/apps/mail/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer
echo
DONE! :-
)
\ No newline at end of file
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