- switches+=("${systemd_unit}=/lib/systemd/system/${prog}.service")
- switches+=(--after-install "$WORKSPACE/build/go-package-scripts/postinst")
+ switches+=(
+ --after-install "${WORKSPACE}/build/go-package-scripts/postinst"
+ --before-remove "${WORKSPACE}/build/go-package-scripts/prerm"
+ "${systemd_unit}=/lib/systemd/system/${prog}.service")