forked from pool/rpmlint
- adjust initscript check to match new systemctl based
%restart_on_update resp %stop_on_removal OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=289
This commit is contained in:
parent
5e880067b3
commit
6cfe77a95e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 21 12:53:31 UTC 2014 - lnussel@suse.de
|
||||
|
||||
- adjust initscript check to match new systemctl based
|
||||
%restart_on_update resp %stop_on_removal
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 21 11:40:15 UTC 2014 - werner@suse.de
|
||||
|
||||
|
@ -6,8 +6,8 @@ Index: InitScriptCheck.py
|
||||
lsb_cont_regex = re.compile('^#(?:\t| )(.*?)\s*$')
|
||||
use_subsys = Config.getOption('UseVarLockSubsys', True)
|
||||
|
||||
+stop_on_removal_regex=re.compile('/etc/init.d/\$service stop > /dev/null')
|
||||
+restart_on_update_regex=re.compile('/etc/init.d/\$service try-restart > /dev/null')
|
||||
+stop_on_removal_regex=re.compile('bin/systemctl stop \$service >/dev/null')
|
||||
+restart_on_update_regex=re.compile('bin/systemctl try-restart \$service >/dev/null')
|
||||
+insserv_cleanup_regex=re.compile('^\s*/sbin/insserv /etc/init.d$', re.MULTILINE)
|
||||
+
|
||||
LSB_KEYWORDS = ('Provides', 'Required-Start', 'Required-Stop', 'Should-Start',
|
||||
|
Loading…
Reference in New Issue
Block a user