Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 61311 | Differences between
and this patch

Collapse All | Expand All

(-)turboprint-1.91/lib/install-post (-10 / +2 lines)
Lines 78-84 Link Here
78
78
79
# generate PPD files; add to CUPS if present
79
# generate PPD files; add to CUPS if present
80
80
81
mkdir -p "$RBR$TPPATH_SHARE/ppd"
81
mkdir -p "$TPPATH_SHARE/ppd"
82
tpsetup --writeppdfiles "$TPPATH_SHARE/ppd/"
82
tpsetup --writeppdfiles "$TPPATH_SHARE/ppd/"
83
83
84
if [ $TP_CUPS -eq 1 ] ; then
84
if [ $TP_CUPS -eq 1 ] ; then
Lines 99-119 Link Here
99
99
100
tpsetup --update
100
tpsetup --update
101
101
102
# restart CUPS scheduler
103
104
if [ $TP_CUPS -eq 1 ] ; then
105
	echo "Restarting CUPS printing system..."
106
	rccups restart &> /dev/null
107
	echo ""
108
fi
109
110
# remove dump files
102
# remove dump files
111
103
112
if [ -e "$TPPATH_SHARE/dump/dj970aligncontrol.prn" ] ; then
104
if [ -e "$TPPATH_SHARE/dump/dj970aligncontrol.prn" ] ; then
113
	rm -r "$TPPATH_SHARE/dump/dj970aligncontrol.prn"
105
	rm -r "$TPPATH_SHARE/dump/dj970aligncontrol.prn"
114
fi
106
fi
115
107
116
# exit 0
108
exit 0
117
109
118
# add entry to KDE menu
110
# add entry to KDE menu
119
# KDE1 no longer supported
111
# KDE1 no longer supported

Return to bug 61311