ALT Linux repos
S: | 2.4.7-alt1 |
5.0: | 1.3.10-alt1 |
4.1: | 1.3.10-alt0.M41.4 |
+updates: | 1.3.9-alt1.M41.1 |
4.0: | 1.2.12-alt6.M40.9 |
+updates: | 1.2.12-alt6.M40.8 |
3.0: | 1.1.20-alt14.1 |
Group :: System/Servers
RPM: cups
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
#!/bin/sh
. /etc/control.d/functions
CONFIG=/etc/cups/cupsd.conf
new_subst server \
'^Listen[[:space:]]+localhost:631[[:space:]]*$' \
's/^#\(Listen[[:space:]]\+localhost:631\)[[:space:]]*$/\1/g'
new_subst local \
'^#Listen[[:space:]]+localhost:631[[:space:]]*$' \
's/^\(Listen[[:space:]]\+localhost:631\)[[:space:]]*$/#\1/g'
new_summary "Common Unix Printing System"
new_help local "Only local utilities can work with cups"
new_help server "External IPP interface are available for user"
control_subst "$CONFIG" "$*"