Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package grml-zsh-config for openSUSE:Factory checked in at 2025-05-15 17:01:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grml-zsh-config (Old) and /work/SRC/openSUSE:Factory/.grml-zsh-config.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grml-zsh-config" Thu May 15 17:01:43 2025 rev:14 rq:1277569 version:0.19.19 Changes: -------- --- /work/SRC/openSUSE:Factory/grml-zsh-config/grml-zsh-config.changes 2025-04-14 12:59:26.838932594 +0200 +++ /work/SRC/openSUSE:Factory/.grml-zsh-config.new.30101/grml-zsh-config.changes 2025-05-15 17:02:05.716011295 +0200 @@ -1,0 +2,6 @@ +Thu May 15 06:41:42 UTC 2025 - Michael Vetter <mvet...@suse.com> + +- Update to 0.19.19: + * zshrc: drop sv support from init.d functions #199 + +------------------------------------------------------------------- Old: ---- v0.19.18.tar.gz New: ---- v0.19.19.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grml-zsh-config.spec ++++++ --- /var/tmp/diff_new_pack.UeuNCT/_old 2025-05-15 17:02:07.236075107 +0200 +++ /var/tmp/diff_new_pack.UeuNCT/_new 2025-05-15 17:02:07.236075107 +0200 @@ -17,7 +17,7 @@ Name: grml-zsh-config -Version: 0.19.18 +Version: 0.19.19 Release: 0 Summary: Zsh config ujed by grml License: GPL-2.0-only ++++++ v0.19.18.tar.gz -> v0.19.19.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/grml-etc-core-0.19.18/debian/changelog new/grml-etc-core-0.19.19/debian/changelog --- old/grml-etc-core-0.19.18/debian/changelog 2025-04-13 19:40:36.000000000 +0200 +++ new/grml-etc-core-0.19.19/debian/changelog 2025-05-14 13:21:29.000000000 +0200 @@ -1,3 +1,10 @@ +grml-etc-core (0.19.19) grml-testing; urgency=medium + + [ Chris Hofstaedtler ] + * [ce34a47] zshrc: drop sv support from init.d functions + + -- Michael Prokop <m...@grml.org> Wed, 14 May 2025 13:20:23 +0200 + grml-etc-core (0.19.18) grml-testing; urgency=medium [ Christopher Bock ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/grml-etc-core-0.19.18/etc/zsh/zshrc new/grml-etc-core-0.19.19/etc/zsh/zshrc --- old/grml-etc-core-0.19.18/etc/zsh/zshrc 2025-04-13 19:40:36.000000000 +0200 +++ new/grml-etc-core-0.19.19/etc/zsh/zshrc 2025-05-14 13:21:29.000000000 +0200 @@ -2927,32 +2927,16 @@ #m# f6 Reload() \kbd{service \em{process}}\quad\kbd{reload} #m# f6 Force-Reload() \kbd{service \em{process}}\quad\kbd{force-reload} #m# f6 Status() \kbd{service \em{process}}\quad\kbd{status} -if [[ -d /etc/init.d || -d /etc/service ]] ; then +if [[ -d /etc/init.d ]] ; then function __start_stop () { local action_="${1:l}" # e.g Start/Stop/Restart local service_="$2" local param_="$3" - local service_target_="$(readlink /etc/init.d/$service_)" - if [[ $service_target_ == "/usr/bin/sv" ]]; then - # runit - case "${action_}" in - start) if [[ -d /etc/service ]] && [[ ! -e /etc/service/$service_ ]]; then - $SUDO ln -s "/etc/sv/$service_" "/etc/service/" - else - $SUDO "/etc/init.d/$service_" "${action_}" "$param_" - fi ;; - # there is no reload in runits sysv emulation - reload) $SUDO "/etc/init.d/$service_" "force-reload" "$param_" ;; - *) $SUDO "/etc/init.d/$service_" "${action_}" "$param_" ;; - esac + if check_com -c service ; then + $SUDO service "$service_" "${action_}" "$param_" else - # sysv/sysvinit-utils, upstart - if check_com -c service ; then - $SUDO service "$service_" "${action_}" "$param_" - else - $SUDO "/etc/init.d/$service_" "${action_}" "$param_" - fi + $SUDO "/etc/init.d/$service_" "${action_}" "$param_" fi }