From cd3e46160cc1f5a94e5192daafb608c9e5f78fe8 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Tue, 5 Mar 2013 15:40:37 +0000 Subject: [PATCH] * install .ipk to /opt --- installer/ipkg/filebot.sh | 2 +- installer/ipkg/postinst.sh | 2 +- installer/ipkg/prerem.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/ipkg/filebot.sh b/installer/ipkg/filebot.sh index be0f5d97..d7fe2505 100644 --- a/installer/ipkg/filebot.sh +++ b/installer/ipkg/filebot.sh @@ -1,2 +1,2 @@ #!/bin/sh -java -Dunixfs=false -DuseExtendedFileAttributes=false -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Dapplication.deployment=ipkg -Dapplication.analytics=true -Dapplication.dir=$HOME/.filebot -Djava.io.tmpdir=$HOME/.filebot/temp -Djna.library.path=/usr/share/filebot -Djava.library.path=/usr/share/filebot -jar /usr/share/filebot/FileBot.jar "$@" \ No newline at end of file +java -Dunixfs=false -DuseExtendedFileAttributes=false -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Dapplication.deployment=ipkg -Dapplication.analytics=true -Dapplication.dir=/opt/usr/share/filebot/data -Djava.io.tmpdir=/opt/usr/share/filebot/temp -Djna.library.path=/opt/usr/share/filebot -Djava.library.path=/opt/usr/share/filebot -jar /opt/usr/share/filebot/FileBot.jar "$@" \ No newline at end of file diff --git a/installer/ipkg/postinst.sh b/installer/ipkg/postinst.sh index 62a8b496..bdaaf8b1 100644 --- a/installer/ipkg/postinst.sh +++ b/installer/ipkg/postinst.sh @@ -1,2 +1,2 @@ #!/bin/sh -ln -s /usr/share/filebot/bin/filebot.sh /usr/bin/filebot +ln -s /opt/usr/share/filebot/bin/filebot.sh /opt/usr/bin/filebot diff --git a/installer/ipkg/prerem.sh b/installer/ipkg/prerem.sh index 2b96768c..f37f9c15 100644 --- a/installer/ipkg/prerem.sh +++ b/installer/ipkg/prerem.sh @@ -1,2 +1,2 @@ #!/bin/sh -rm /usr/bin/filebot +rm /opt/usr/bin/filebot