Skip to content
Snippets Groups Projects
Commit fb44e0ff authored by David Adam's avatar David Adam
Browse files

debian/spec: don't restart fishd

parent 90013b45
No related merge requests found
...@@ -28,7 +28,6 @@ add_shell() { ...@@ -28,7 +28,6 @@ add_shell() {
case "$1" in case "$1" in
configure) configure)
add_shell add_shell
killall fishd || true
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)
......
...@@ -43,10 +43,6 @@ rm -rf $RPM_BUILD_ROOT ...@@ -43,10 +43,6 @@ rm -rf $RPM_BUILD_ROOT
if ! grep %{_bindir}/fish %{_sysconfdir}/shells >/dev/null; then if ! grep %{_bindir}/fish %{_sysconfdir}/shells >/dev/null; then
echo %{_bindir}/fish >>%{_sysconfdir}/shells echo %{_bindir}/fish >>%{_sysconfdir}/shells
fi fi
# Restart fishd if upgrading
if [ "$1" -gt 1 ]; then
killall fishd
fi
%postun %postun
# Remove fish from the list of allowed shells in /etc/shells # Remove fish from the list of allowed shells in /etc/shells
......
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