1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
#! /bin/sh -e
## 12-FHSCompliance.dpatch by Raphael Bossek <bossekr@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
if [ $# -lt 1 ]; then
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1
fi
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
case "$1" in
-patch) patch -p1 ${patch_opts} < $0;;
-unpatch) patch -R -p1 ${patch_opts} < $0;;
*)
echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
exit 1;;
esac
exit 0
@DPATCH@
--- python-4suite-0.99cvs20050329/4Suite/Ft/Server/Server/Launcher.py.orig 2005-03-29 20:45:47.425462364 +0200
+++ python-4suite-0.99cvs20050329/4Suite/Ft/Server/Server/Launcher.py 2005-03-29 20:46:47.412182627 +0200
@@ -35,7 +35,7 @@
location of other executable applications on your platform.
"""
from Ft import GetConfigVar
- executable = os.path.join(GetConfigVar('BINDIR'), name)
+ executable = os.path.join(GetConfigVar('DATADIR'), name)
if sys.platform == 'win32':
# Determine if we are running a debug Python
if sys.executable.endswith('_d.exe'):
|