#!/bin/bash
set -e
name=cups
version=2.4.19
release=2
INFO="\033[1;36m"
NORMAL="\033[0;39m"
systemctl enable cups
if [ ! -f /etc/cups/client.conf ]; then
  echo "ServerName /run/cups/cups.sock" > /etc/cups/client.conf
  printf "${INFO} /etc/cups/client.conf created ${NORMAL}\n"
  printf "${INFO} Double check /etc/cups/client.conf and adapted to your needs ${NORMAL}\n"
fi
systemctl enable cups

