check for cups.conf instead of printers.conf to copy skel

This commit is contained in:
Florian Schwab 2020-03-28 11:34:31 +01:00
parent 85b0b173f9
commit eac1adbdac

View File

@ -2,7 +2,7 @@
echo -e "${ADMIN_PASSWORD}\n${ADMIN_PASSWORD}" | passwd admin
if [ ! -f /etc/cups/printers.conf ]; then
if [ ! -f /etc/cups/cupsd.conf ]; then
cp -rpn /etc/cups-skel/* /etc/cups/
fi