From 23f6110c9b377f880bb296f37ecc09b78d954462 Mon Sep 17 00:00:00 2001 From: fake Date: Sun, 12 Sep 2004 13:41:34 +0000 Subject: [PATCH] fake: rox-filer: fix strange install.sh not to call mime-update, to use sane paths and feed it with input in .conf rediff: add second yes for overwriting already installed version (sigh) [2004090723453722370] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4207 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../rox-filer/install-location.patch | 31 +++++++++++++++++++ package/blindcoder/rox-filer/rox-filer.conf | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 package/blindcoder/rox-filer/install-location.patch diff --git a/package/blindcoder/rox-filer/install-location.patch b/package/blindcoder/rox-filer/install-location.patch new file mode 100644 index 000000000..86109ada5 --- /dev/null +++ b/package/blindcoder/rox-filer/install-location.patch @@ -0,0 +1,31 @@ +--- ./install.sh.orig 2004-09-07 05:44:33.771458392 +0200 ++++ ./install.sh 2004-09-07 05:47:11.450487536 +0200 +@@ -94,10 +94,10 @@ + MANDIR= + fi + ;; +- 3) APPDIR=/usr/apps +- BINDIR=/usr/bin ++ 3) BINDIR=/usr/bin + SHAREDIR=/usr/share +- CHOICESDIR=${SHAREDIR}/Choices ++ CHOICESDIR=${SHAREDIR}/ROX-Filer/Choices ++ APPDIR=${SHAREDIR}/ROX-Filer/apps + MANDIR=${SHAREDIR}/man + ;; + 4) echo "Where should the ROX-Filer application go?" +--- ./install.sh.orig 2003-04-29 12:56:22.000000000 +0200 ++++ ./install.sh 2004-09-07 06:15:35.003508112 +0200 +@@ -194,9 +194,9 @@ + endir "$MIMEDIR" + endir "$MIMEDIR/packages" + cp rox.xml "$MIMEINFO" || die "Failed to create $MIMEINFO" +-update-mime-database "$MIMEDIR" || die "update-mime-database failed +-Make sure you have installed the shared MIME database from: +-http://www.freedesktop.org/standards/shared-mime-info.html" ++# update-mime-database "$MIMEDIR" || die "update-mime-database failed ++# Make sure you have installed the shared MIME database from: ++# http://www.freedesktop.org/standards/shared-mime-info.html" + + echo "Installing application..." + endir "$APPDIR" diff --git a/package/blindcoder/rox-filer/rox-filer.conf b/package/blindcoder/rox-filer/rox-filer.conf index 4c8321b51..2d0bd38f8 100644 --- a/package/blindcoder/rox-filer/rox-filer.conf +++ b/package/blindcoder/rox-filer/rox-filer.conf @@ -1,2 +1,2 @@ -custmain="./install.sh" +custmain="echo -e '3\nyes\nyes\n' | ./install.sh"