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
c3605f62
Commit
c3605f62
authored
Nov 13, 2016
by
Michael Kroes
Committed by
Joshua Tauberer
Nov 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check if update-manager release-upgrades configuration file is present before editing (#996)
parent
96b3a298
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
system.sh
setup/system.sh
+4
-2
No files found.
setup/system.sh
View file @
c3605f62
...
...
@@ -122,8 +122,10 @@ apt_install python3 python3-dev python3-pip \
# ### Suppress Upgrade Prompts
# Since Mail-in-a-Box might jump straight to 18.04 LTS, there's no need
# to be reminded about 16.04 on every login.
tools/editconf.py /etc/update-manager/release-upgrades
Prompt
=
never
rm
-f
/var/lib/ubuntu-release-upgrader/release-upgrade-available
if
[
-f
/etc/update-manager/release-upgrades
]
;
then
tools/editconf.py /etc/update-manager/release-upgrades
Prompt
=
never
rm
-f
/var/lib/ubuntu-release-upgrader/release-upgrade-available
fi
# ### Set the system timezone
#
...
...
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