"Fossies" - the Fresh Open Source Software Archive

Member "install/predelete.sh" (9 Feb 2022, 410 Bytes) of package /linux/privat/benno-smtp-2.8.0.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "predelete.sh": 2.6.0_vs_2.8.0.

    1 #!/bin/sh
    2 set -e
    3 # Automatically added by dh_installinit/13.3.4
    4 if [ -x "/etc/init.d/benno-smtp" ] && [ "$1" = remove ]; then
    5     invoke-rc.d benno-smtp stop || exit 1
    6 fi
    7 # End automatically added section
    8 # Automatically added by dh_systemd_start/13.3.4
    9 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
   10     deb-systemd-invoke stop 'benno-smtp.service' >/dev/null || true
   11 fi
   12 # End automatically added section