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
802843ed
Commit
802843ed
authored
9 years ago
by
Otto Kekäläinen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-9643: Don't emit any "deb-systemd-helper not found" warnings
parent
e7d50efc
Changes
2
Show 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 @
802843ed
...
@@ -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#
...
...
This diff is collapsed.
Click to expand it.
debian/dist/Ubuntu/mariadb-server-10.0.postinst
View file @
802843ed
...
@@ -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#
...
...
This diff is collapsed.
Click to expand it.
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