diff --git a/debian/postinst b/debian/postinst index f0c90f2960736acd424fb053f8281df3c35e2c9b..e7e205bf1156137f1b9c1ed7639386be1ad1ea5d 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 a4ee3311f3bebe33942b7487b848461d22a33f3b..fda42790b820044ae09258df786cf31e68215f7a 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