#!/bin/sh -e ## 02_docviewer.dpatch.dpatch by Aurelien Jarno ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Change default browser to /usr/bin/sensible-browser. if [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch}" case "$1" in -patch) patch $patch_opts -p1 < $0;; -unpatch) patch $patch_opts -p1 -R < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1;; esac exit 0 @DPATCH@ diff -urNad --exclude=CVS --exclude=.svn ./src/xsane.h /tmp/dpep-work.2gLqkG/xsane-0.97/src/xsane.h --- ./src/xsane.h 2005-01-22 16:18:40.000000000 +0100 +++ /tmp/dpep-work.2gLqkG/xsane-0.97/src/xsane.h 2005-08-28 18:56:38.410683378 +0200 @@ -231,7 +231,7 @@ # elif defined(HAVE_OS2_H) # define DEFAULT_BROWSER "netscape" # else -# define DEFAULT_BROWSER "netscape" +# define DEFAULT_BROWSER "/usr/bin/sensible-browser" # endif #endif