🔒 Repository is read-only – file editing is disabled.

recipes/gui/cups/cups.post-install main

9 linii Raw ← Powrót
123456789
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