mirror of https://gitee.com/openkylin/cups.git
21 lines
299 B
Bash
21 lines
299 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Debconf library
|
|
. /usr/share/debconf/confmodule
|
|
|
|
db_get cupsys/raw-print
|
|
OLD_RET=$RET
|
|
|
|
db_input low cupsys/raw-print || true
|
|
db_go
|
|
|
|
db_get cupsys/raw-print
|
|
if [ "$OLD_RET" != "$RET" ]; then
|
|
db_fset cupsys/raw-print changed true
|
|
fi
|
|
|
|
db_input low cupsys/backend || true
|
|
db_go
|