From b777a8ea540d269833fff978569f8b9a1f62d913 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Wed, 30 Apr 2014 17:55:19 +0000 Subject: [PATCH] * ignore errors that may or may not occur during the prerem/postinst scripts if you're installing filebot using the .deb packages --- installer/deb/postinst.sh | 2 +- installer/deb/prerem.sh | 2 +- installer/ipkg/postinst.sh | 2 +- installer/ipkg/prerem.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/installer/deb/postinst.sh b/installer/deb/postinst.sh index 41b7ee06..fb566a20 100644 --- a/installer/deb/postinst.sh +++ b/installer/deb/postinst.sh @@ -1,4 +1,4 @@ #!/bin/sh # create /bin symlink -ln -s /usr/share/filebot/bin/filebot.sh /usr/bin/filebot +ln -s -f /usr/share/filebot/bin/filebot.sh /usr/bin/filebot diff --git a/installer/deb/prerem.sh b/installer/deb/prerem.sh index 71793752..a07e2b39 100644 --- a/installer/deb/prerem.sh +++ b/installer/deb/prerem.sh @@ -1,4 +1,4 @@ #!/bin/sh # remove /bin symlink -rm /usr/bin/filebot +rm -f /usr/bin/filebot diff --git a/installer/ipkg/postinst.sh b/installer/ipkg/postinst.sh index b742e8b5..b10aaa63 100644 --- a/installer/ipkg/postinst.sh +++ b/installer/ipkg/postinst.sh @@ -1,4 +1,4 @@ #!/bin/sh # create /bin symlink -ln -s /opt/share/filebot/bin/filebot.sh /opt/bin/filebot +ln -s -f /opt/share/filebot/bin/filebot.sh /opt/bin/filebot diff --git a/installer/ipkg/prerem.sh b/installer/ipkg/prerem.sh index 8f174d15..5e71bc50 100644 --- a/installer/ipkg/prerem.sh +++ b/installer/ipkg/prerem.sh @@ -1,4 +1,4 @@ #!/bin/sh # remove /bin symlink -rm /opt/bin/filebot +rm -f /opt/bin/filebot