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