Commit fb44e0ff authored by David Adam's avatar David Adam

debian/spec: don't restart fishd

parent 90013b45
......@@ -28,7 +28,6 @@ add_shell() {
case "$1" in
configure)
add_shell
killall fishd || true
;;
abort-upgrade|abort-remove|abort-deconfigure)
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment