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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
c735d07d
Commit
c735d07d
authored
Nov 22, 2005
by
joerg@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support-files/mysql.spec.sh
Fix a possible problem on RPM un-install. bug#15145
parent
f12212f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+17
-12
No files found.
support-files/mysql.spec.sh
View file @
c735d07d
...
...
@@ -487,22 +487,22 @@ echo "Restarting mysqld."
%preun server
if
test
$1
=
0
then
# Stop MySQL before uninstalling it
# Stop MySQL before uninstalling it
if
test
-x
%
{
_sysconfdir
}
/init.d/mysql
then
%
{
_sysconfdir
}
/init.d/mysql stop
>
/dev/null
fi
# Remove autostart of mysql
# for older SuSE Linux versions
if
test
-x
/sbin/insserv
then
/sbin/insserv
-r
%
{
_sysconfdir
}
/init.d/mysql
# use chkconfig on Red Hat and newer SuSE releases
elif
test
-x
/sbin/chkconfig
then
/sbin/chkconfig
--del
mysql
fi
# Remove autostart of mysql
# for older SuSE Linux versions
if
test
-x
/sbin/insserv
then
/sbin/insserv
-r
%
{
_sysconfdir
}
/init.d/mysql
# use chkconfig on Red Hat and newer SuSE releases
elif
test
-x
/sbin/chkconfig
then
/sbin/chkconfig
--del
mysql
fi
fi
fi
# We do not remove the mysql user since it may still own a lot of
...
...
@@ -689,6 +689,11 @@ fi
# itself - note that they must be ordered by date (important when
# merging BK trees)
%changelog
*
Tue Nov 22 2005 Joerg Bruehe <joerg@mysql.com>
- Extend the file existence check
for
"init.d/mysql"
on un-install
to also guard the call to
"insserv"
/
"chkconfig"
.
*
Thu Oct 27 2005 Lenz Grimmer <lenz@grimmer.com>
- added more man pages
...
...
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