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
83b36f2c
Commit
83b36f2c
authored
May 30, 2015
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify the roundcube updating logic, changelog entry for roundcube persistent login
parent
67b4ea94
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
CHANGELOG.md
CHANGELOG.md
+1
-0
webmail.sh
setup/webmail.sh
+3
-2
No files found.
CHANGELOG.md
View file @
83b36f2c
...
@@ -4,6 +4,7 @@ CHANGELOG
...
@@ -4,6 +4,7 @@ CHANGELOG
In Development
In Development
--------------
--------------
*
Roundcube now allows persistent logins using Roundcube-Persistent-Login-Plugin.
*
ownCloud updated to version 8.0.3.
*
ownCloud updated to version 8.0.3.
*
SMTP Submission (port 587) began offering the insecure SSLv3 protocol due to a misconfiguration in the previous version.
*
SMTP Submission (port 587) began offering the insecure SSLv3 protocol due to a misconfiguration in the previous version.
*
Users and aliases weren't working if they were entered with any uppercase letters. Now only lowercase is allowed.
*
Users and aliases weren't working if they were entered with any uppercase letters. Now only lowercase is allowed.
...
...
setup/webmail.sh
View file @
83b36f2c
...
@@ -36,11 +36,12 @@ VERSION=1.1.1
...
@@ -36,11 +36,12 @@ VERSION=1.1.1
HASH
=
08222f382a8dd89bba7dbbad595f48443bec0aa2
HASH
=
08222f382a8dd89bba7dbbad595f48443bec0aa2
VACATION_SIEVE_VERSION
=
91ea6f52216390073d1f5b70b5f6bea0bfaee7e5
VACATION_SIEVE_VERSION
=
91ea6f52216390073d1f5b70b5f6bea0bfaee7e5
PERSISTENT_LOGIN_VERSION
=
9a0bc59493beb573d515f82aec443e2098365d11
PERSISTENT_LOGIN_VERSION
=
9a0bc59493beb573d515f82aec443e2098365d11
UPDATE_KEY
=
$VERSION
:
$VACATION_SIEVE_VERSION
:
$PERSISTENT_LOGIN_VERSION
needs_update
=
0
#NODOC
needs_update
=
0
#NODOC
if
[
!
-f
/usr/local/lib/roundcubemail/version
]
;
then
if
[
!
-f
/usr/local/lib/roundcubemail/version
]
;
then
# not installed yet #NODOC
# not installed yet #NODOC
needs_update
=
1
#NODOC
needs_update
=
1
#NODOC
elif
[[
"
$
VERSION
:
$VACATION_SIEVE_VERSION
:
$PERSISTENT_LOGIN_VERSION
"
!=
`
cat
/usr/local/lib/roundcubemail/version
`
]]
;
then
elif
[[
"
$
UPDATE_KEY
"
!=
`
cat
/usr/local/lib/roundcubemail/version
`
]]
;
then
# checks if the version is what we want
# checks if the version is what we want
needs_update
=
1
#NODOC
needs_update
=
1
#NODOC
fi
fi
...
@@ -63,7 +64,7 @@ if [ $needs_update == 1 ]; then
...
@@ -63,7 +64,7 @@ if [ $needs_update == 1 ]; then
git_clone https://github.com/mfreiholz/Roundcube-Persistent-Login-Plugin.git
$PERSISTENT_LOGIN_VERSION
''
/usr/local/lib/roundcubemail/plugins/persistent_login
git_clone https://github.com/mfreiholz/Roundcube-Persistent-Login-Plugin.git
$PERSISTENT_LOGIN_VERSION
''
/usr/local/lib/roundcubemail/plugins/persistent_login
# record the version we've installed
# record the version we've installed
echo
$
VERSION
:
$VACATION_SIEVE_VERSION
:
$PERSISTENT_LOGIN_VERSION
>
/usr/local/lib/roundcubemail/version
echo
$
UPDATE_KEY
>
/usr/local/lib/roundcubemail/version
fi
fi
# ### Configuring Roundcube
# ### Configuring Roundcube
...
...
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