* Install Xprint's Xsession script to $(sysconfdir)/X11/Xsession.d

* Removing outdated references to CDE and dt, rename script to
  92xprint-xpserverlist.
(cherry picked from 8b4ed47c5d commit)
This commit is contained in:
Drew Parsons 2006-09-21 22:19:44 +10:00 committed by Adam Jackson
parent 0790665ff0
commit 27f0a0066f
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,30 @@
#!/bin/sh
#####################################################################
### File: 92xprint-xpserverlist
###
### Default Location: /etc/X11/Xsession.d/
###
### Purpose: Setup Xprint env vars
###
### Description: This script is invoked by means of the Xsession file
### at user login.
###
### Invoked by: /etc/X11/Xsession
###
### (c) Copyright 2003-2004 Roland Mainz <roland.mainz@nrubsig.org>
###
### please send bugfixes or comments to https://bugs.freedesktop.org
###
#####################################################################
#
# Obtain list of Xprint servers
#
if [ -x "/etc/init.d/xprint" ] ; then
XPSERVERLIST="`/etc/init.d/xprint get_xpserverlist`"
export XPSERVERLIST
fi
########################## eof #####################

View File

@ -1 +1,2 @@
EXTRA_DIST = cde_xsessiond_xprint.sh
xpcdir = $(sysconfdir)/X11/Xsession.d
dist_xpc_DATA = 92xprint-xpserverlist