forked from pool/tigervnc
Stefan Dirsch
37c2fbf427
- Cleanup specfile * Use the same format for all the patches. * Use autosetup to apply all the patches with -p1. * Clean number of sources. OBS-URL: https://build.opensuse.org/request/show/1147784 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=254
20 lines
768 B
Diff
20 lines
768 B
Diff
Index: tigervnc-1.13.1/unix/vncserver/vncserver.in
|
|
===================================================================
|
|
--- tigervnc-1.13.1.orig/unix/vncserver/vncserver.in
|
|
+++ tigervnc-1.13.1/unix/vncserver/vncserver.in
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env perl
|
|
+#!/usr/bin/perl
|
|
#
|
|
# Copyright (C) 2015-2019 Pierre Ossman for Cendio AB
|
|
# Copyright (C) 2009-2010 D. R. Commander. All Rights Reserved.
|
|
@@ -439,7 +439,7 @@ sub SanityCheck
|
|
die "$prog: couldn't find \"$cmd\" on your PATH.\n";
|
|
}
|
|
|
|
- foreach $cmd ("/etc/X11/xinit/Xsession", "/etc/X11/Xsession") {
|
|
+ foreach $cmd ("/usr/etc/X11/xdm/Xsession", "/etc/X11/xdm/Xsession", "/etc/X11/xinit/Xsession", "/etc/X11/Xsession") {
|
|
if (-x "$cmd") {
|
|
$Xsession = $cmd;
|
|
last;
|