check for cups.conf instead of printers.conf to copy skel
This commit is contained in:
parent
85b0b173f9
commit
eac1adbdac
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
echo -e "${ADMIN_PASSWORD}\n${ADMIN_PASSWORD}" | passwd admin
|
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/
|
cp -rpn /etc/cups-skel/* /etc/cups/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user