updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ocs / use-system-wish.patch
blobed46e5186ff6c38b95075769ae6f8f7576ab9b9c
1 Description: Use /usr/bin/wish instead of /usr/local/bin/wish.
2 Author: Benjamin Drung <bdrung@debian.org>
4 --- a/src/dosfop/tcl/browse_tcl
5 +++ b/src/dosfop/tcl/browse_tcl
6 @@ -1,4 +1,4 @@
7 -#!/usr/local/bin/wish -f
8 +#!/usr/bin/wish -f
9 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/browse_tcl 7677 2010-09-30T15:50:09.291274Z florenz $
11 option readfile $env(DOSFOP)/defaults/options.data
12 --- a/src/dosfop/tcl/dosfop_tcl
13 +++ b/src/dosfop/tcl/dosfop_tcl
14 @@ -1,4 +1,4 @@
15 -#!/usr/local/bin/wish -f
16 +#!/usr/bin/wish -f
17 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/dosfop_tcl 7677 2010-09-30T15:50:09.291274Z florenz $
19 # At least the DOSFOP environment variable has to be present for execution!
20 @@ -13,8 +13,8 @@
22 if {[info exists env(WISH)] == 0} then {
23 puts "WISH environment variable does not exist"
24 - puts "using '/usr/local/bin/wish' as default"
25 - set env(WISH) "/usr/local/bin/wish"
26 + puts "using '/usr/bin/wish' as default"
27 + set env(WISH) "/usr/bin/wish"
30 option readfile $env(DOSFOP)/defaults/options.data
31 --- a/src/dosfop/tcl/filebrowser_tcl
32 +++ b/src/dosfop/tcl/filebrowser_tcl
33 @@ -1,4 +1,4 @@
34 -#!/usr/local/bin/wish -f
35 +#!/usr/bin/wish -f
36 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/filebrowser_tcl 7677 2010-09-30T15:50:09.291274Z florenz $
37 # Parameter : Name of calling tcl-application
39 --- a/src/dosfop/tcl/globalConfig_tcl
40 +++ b/src/dosfop/tcl/globalConfig_tcl
41 @@ -1,4 +1,4 @@
42 -#!/usr/local/bin/wish -f
43 +#!/usr/bin/wish -f
44 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/globalConfig_tcl 7677 2010-09-30T15:50:09.291274Z florenz $
46 option readfile $env(DOSFOP)/defaults/options.data
47 --- a/src/dosfop/tcl/pureDosfop.tcl
48 +++ b/src/dosfop/tcl/pureDosfop.tcl
49 @@ -1,4 +1,4 @@
50 -#! /usr/local/bin/wish -f
51 +#! /usr/bin/wish -f
52 ## managing dosfop tools without window system
54 source $env(DOSFOP)/tcl/pureExec.tcl
55 --- a/src/dosfop/tcl/startConsistencyCheck.tcl
56 +++ b/src/dosfop/tcl/startConsistencyCheck.tcl
57 @@ -1,4 +1,4 @@
58 -#!/usr/local/bin/wish -f
59 +#!/usr/bin/wish -f
60 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/startConsistencyCheck.tcl 7677 2010-09-30T15:50:09.291274Z florenz $
62 wm withdraw .
63 --- a/src/dosfop/tcl/startDosfop.tcl
64 +++ b/src/dosfop/tcl/startDosfop.tcl
65 @@ -1,4 +1,4 @@
66 -#!/usr/local/bin/wish -f
67 +#!/usr/bin/wish -f
68 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/startDosfop.tcl 7677 2010-09-30T15:50:09.291274Z florenz $
70 wm withdraw .
71 --- a/src/dosfop/tcl/startMakeinfo.tcl
72 +++ b/src/dosfop/tcl/startMakeinfo.tcl
73 @@ -1,4 +1,4 @@
74 -#!/usr/local/bin/wish -f
75 +#!/usr/bin/wish -f
76 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/startMakeinfo.tcl 7677 2010-09-30T15:50:09.291274Z florenz $
78 wm withdraw .
79 --- a/src/dosfop/tcl/startTexi2dvi.tcl
80 +++ b/src/dosfop/tcl/startTexi2dvi.tcl
81 @@ -1,4 +1,4 @@
82 -#!/usr/local/bin/wish -f
83 +#!/usr/bin/wish -f
84 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/startTexi2dvi.tcl 7677 2010-09-30T15:50:09.291274Z florenz $
86 wm withdraw .
87 --- a/src/dosfop/tcl/startTexi2html.tcl
88 +++ b/src/dosfop/tcl/startTexi2html.tcl
89 @@ -1,4 +1,4 @@
90 -#!/usr/local/bin/wish -f
91 +#!/usr/bin/wish -f
92 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/startTexi2html.tcl 7677 2010-09-30T15:50:09.291274Z florenz $
94 wm withdraw .
95 --- a/src/dosfop/tcl/structureConfig_tcl
96 +++ b/src/dosfop/tcl/structureConfig_tcl
97 @@ -1,4 +1,4 @@
98 -#!/usr/local/bin/wish -f
99 +#!/usr/bin/wish -f
100 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/structureConfig_tcl 7677 2010-09-30T15:50:09.291274Z florenz $
102 # Parameter: Name of Structure
103 --- a/src/dosfop/tcl/structuresConfigGlobal_tcl
104 +++ b/src/dosfop/tcl/structuresConfigGlobal_tcl
105 @@ -1,4 +1,4 @@
106 -#!/usr/local/bin/wish -f
107 +#!/usr/bin/wish -f
108 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/structuresConfigGlobal_tcl 7677 2010-09-30T15:50:09.291274Z florenz $
110 # Parameter : Location
111 --- a/src/dosfop/tcl/subsystemConfig_tcl
112 +++ b/src/dosfop/tcl/subsystemConfig_tcl
113 @@ -1,4 +1,4 @@
114 -#!/usr/local/bin/wish -f
115 +#!/usr/bin/wish -f
116 # $Id: /opal/ocs/tags/2.4/src/dosfop/tcl/subsystemConfig_tcl 7677 2010-09-30T15:50:09.291274Z florenz $
118 # Parameter: Name of Subsystem