File: printer-driver-cups-pdf.bug-script

package info (click to toggle)
cups-pdf 3.0.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 328 kB
  • sloc: ansic: 1,031; sh: 148; makefile: 12; python: 7
file content (27 lines) | stat: -rwxr-xr-x 660 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
## AUTHOR
#  Copyright © 2025 Martin-Éric Racine <martin-eric.racine@iki.fi>
## LICENSE
#  SPDX-License-Identifier: GPL-2.0-or-later
%export LC_ALL=C
# reportbug expects output on fd 3
exec 1>&3 2>&3
echo "--- /var/log/cups/cups-pdf_log ---"
if [ ! -f /var/log/cups/cups-pdf_log ]; then
	echo "MISSING"
	exit 0
else
	ls -l --time-style=long-iso /var/log/cups/cups-pdf_log
	cat /var/log/cups/cups-pdf_log
fi
echo
echo "--- /var/log/cups/cups-pdf-PDF_log ---"
if [ ! -f /var/log/cups/cups-pdf-PDF_log ]; then
	echo "MISSING"
	exit 0
else
	ls -l --time-style=long-iso /var/log/cups/cups-pdf-PDF_log
	cat /var/log/cups/cups-pdf-PDF_log
fi
echo
##EOF##