debian package build fixes

This commit is contained in:
jsorg71 2006-08-14 04:57:43 +00:00
parent c88940c54f
commit 7cbeb4f30d
2 changed files with 12 additions and 8 deletions

View File

@ -51,7 +51,7 @@ install:
install instfiles/xrdp_control.sh $(DESTDIR)/xrdp_control.sh
installdeb:
mkdir -p $(DESTDIRDEB)/usr/xrdp
mkdir -p $(DESTDIRDEB)/usr/lib/xrdp
mkdir -p $(DESTDIRDEB)/etc/xrdp
mkdir -p $(DESTDIRDEB)/etc/pam.d
mkdir -p $(DESTDIRDEB)/etc/init.d

View File

@ -10,20 +10,23 @@ fi
if [ -d /opt/kde/bin ]; then
export PATH=/opt/kde/bin:$PATH
fi
if [ "'which startkde'" != "" ]; then
which startkde
if [ $? -eq 0 ]; then
startkde
exit 0
fi
if [ "'which kde'" != "" ]; then
which kde
if [ $? -eq 0 ]; then
kde
exit 0
fi
# gnome
#if [ "'which gnome-session'" != "" ]; then
# gnome-session
# exit 0
#fi
which gnome-session
if [ $? -eq 0 ]; then
gnome-session
exit 0
fi
# blackbox
#if [ "'which blackbox'" != "" ]; then
@ -38,7 +41,8 @@ fi
#fi
# fall back on xterm
if [ "'which xterm'" != "" ]; then
which xterm
if [ $? -eq 0 ]; then
xterm
exit 0
fi