debianmacno-cupsnodebathenaweb
Last change
on this file since 4efd348 was
4efd348,
checked in by Yuri Lin <yuri@…>, 14 years ago
|
Modify prerm to revert the changes made to cupsd.conf and to remove the gutenbach printer
|
-
Property mode set to
100755
|
File size:
307 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | echo "Reverting changes to /etc/cups/cupsd.conf..." >&2 |
---|
4 | mv /etc/cups/cupsd.conf /etc/cups/cupsd.conf.bak |
---|
5 | touch /etc/cups/cupsd.conf |
---|
6 | |
---|
7 | sed '/# Begin configurations for gutenbach/,/# End configurations for gutenbach/ d' < /etc/cups/cupsd.conf.bak > /etc/cups/cupsd.conf |
---|
8 | |
---|
9 | rm /etc/cups/cupsd.conf.bak |
---|
Note: See
TracBrowser
for help on using the repository browser.