Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c3071af5
Commit
c3071af5
authored
Mar 01, 2016
by
Sergey Vojtovich
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #158 from ottok/ok-debpkg-10.0
MDEV-9643: Don't emit any "deb-systemd-helper not found" warnings
parents
e7d50efc
802843ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
debian/dist/Debian/mariadb-server-10.0.postinst
debian/dist/Debian/mariadb-server-10.0.postinst
+4
-2
debian/dist/Ubuntu/mariadb-server-10.0.postinst
debian/dist/Ubuntu/mariadb-server-10.0.postinst
+4
-2
No files found.
debian/dist/Debian/mariadb-server-10.0.postinst
View file @
c3071af5
...
@@ -266,8 +266,10 @@ db_stop # in case invoke failes
...
@@ -266,8 +266,10 @@ db_stop # in case invoke failes
# If we upgrade from MySQL mysql.service may be masked, which also
# If we upgrade from MySQL mysql.service may be masked, which also
# means init.d script is disabled. Unmask mysql service explicitely.
# means init.d script is disabled. Unmask mysql service explicitely.
# Ignore exit code as command is not available everywhere.
# Check first that the command exists, to avoid emitting any warning messages.
deb-systemd-helper unmask mysql.service
>
/dev/null
||
true
if
[
-x
"
$(
command
-v
deb-systemd-helper
)
"
]
;
then
deb-systemd-helper unmask mysql.service
>
/dev/null
fi
#DEBHELPER#
#DEBHELPER#
...
...
debian/dist/Ubuntu/mariadb-server-10.0.postinst
View file @
c3071af5
...
@@ -282,8 +282,10 @@ db_stop # in case invoke failes
...
@@ -282,8 +282,10 @@ db_stop # in case invoke failes
# If we upgrade from MySQL mysql.service may be masked, which also
# If we upgrade from MySQL mysql.service may be masked, which also
# means init.d script is disabled. Unmask mysql service explicitely.
# means init.d script is disabled. Unmask mysql service explicitely.
# Ignore exit code as command is not available everywhere.
# Check first that the command exists, to avoid emitting any warning messages.
deb-systemd-helper unmask mysql.service
>
/dev/null
||
true
if
[
-x
"
$(
command
-v
deb-systemd-helper
)
"
]
;
then
deb-systemd-helper unmask mysql.service
>
/dev/null
fi
#DEBHELPER#
#DEBHELPER#
...
...
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