Quiet systemctl if cups-browsed.service is not installed
This commit is contained in:
parent
b42d00a678
commit
e4cb880aa3
@ -81,7 +81,7 @@ desktop-file-install --delete-original \
|
||||
|
||||
# on upgrade allow ipp-client service in active home/internal/work
|
||||
# if cups-browsed service is enabled to not break someones printing (RHBZ#1105639)
|
||||
systemctl -q is-enabled cups-browsed
|
||||
systemctl -q is-enabled cups-browsed &>/dev/null
|
||||
if [[ "$?" -eq 0 && "$1" -eq 2 ]]; then
|
||||
ZONES=( 'home' 'internal' 'work' )
|
||||
N_ZONES=${#ZONES[@]}
|
||||
|
Loading…
Reference in New Issue
Block a user