debian package build fixes

ulab-original
jsorg71 19 years ago
parent c88940c54f
commit 7cbeb4f30d

@ -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

@ -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

Loading…
Cancel
Save