From fb44e0ff3b69d249e106ec82e235f3c2e9c8c4be Mon Sep 17 00:00:00 2001 From: "David Adam (zanchey)" <zanchey@ucc.gu.uwa.edu.au> Date: Thu, 7 May 2015 14:44:11 +0800 Subject: [PATCH] debian/spec: don't restart fishd --- debian/postinst | 1 - fish.spec.in | 4 ---- 2 files changed, 5 deletions(-) diff --git a/debian/postinst b/debian/postinst index f0c90f2..e7e205b 100644 --- a/debian/postinst +++ b/debian/postinst @@ -28,7 +28,6 @@ add_shell() { case "$1" in configure) add_shell - killall fishd || true ;; abort-upgrade|abort-remove|abort-deconfigure) diff --git a/fish.spec.in b/fish.spec.in index a4ee331..fda4279 100644 --- a/fish.spec.in +++ b/fish.spec.in @@ -43,10 +43,6 @@ rm -rf $RPM_BUILD_ROOT if ! grep %{_bindir}/fish %{_sysconfdir}/shells >/dev/null; then echo %{_bindir}/fish >>%{_sysconfdir}/shells fi -# Restart fishd if upgrading -if [ "$1" -gt 1 ]; then - killall fishd -fi %postun # Remove fish from the list of allowed shells in /etc/shells -- GitLab