__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
set -e
case "$1" in
configure)
# create the scanner group if it isn't already there
# We need to check for the existence of the group to avoid system/non-system
# group discrepencies. (Bug #648287, LP: #989921)
if ! getent group scanner >/dev/null; then
addgroup --quiet --system scanner
fi
# ...create colord user if it isn't already there...
adduser --system --group --home /var/lib/colord \
--quiet --gecos "colord colour management daemon" colord
# ...add system-wide icc profiles directory...
mkdir -p /var/lib/colord/icc
# ...finally, ensure /var/lib/colord has the right permissions
chown colord:colord /var/lib/colord /var/lib/colord/icc
# Restore selinux context (Bug #695085)
if which restorecon >/dev/null 2>&1; then
restorecon /var/lib/colord /var/lib/colord/icc
fi
;;
esac
# Automatically added by dh_installtmpfiles/13.24.1ubuntu2
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "$(command -v systemd-tmpfiles)" ]; then
systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create colord.conf || true
fi
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.24.1ubuntu2
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
deb-systemd-invoke $_dh_action 'colord.service' >/dev/null || true
fi
fi
# End automatically added section
exit 0