diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | filebot.install | 8 |
3 files changed, 10 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = filebot pkgdesc = The ultimate TV and Movie Renamer pkgver = 5.1.3 - pkgrel = 2 + pkgrel = 3 url = https://www.filebot.net/ install = filebot.install arch = i686 @@ -9,7 +9,7 @@ pkgname=filebot pkgver=5.1.3 -pkgrel=2 +pkgrel=3 pkgdesc="The ultimate TV and Movie Renamer" arch=('i686' 'x86_64' 'aarch64' 'armv7l' 'armv7h') url="https://www.filebot.net/" diff --git a/filebot.install b/filebot.install index 036831fe3894..491af46f2348 100644 --- a/filebot.install +++ b/filebot.install @@ -1,4 +1,8 @@ #!/usr/bin/env bash + +# get default file manager +_xdg_mime_default=$(xdg-mime query default inode/directory) + pre_install() { if [ -d "/usr/share/filebot/openjfx" ]; then if [ -L "/usr/share/filebot/openjfx" ]; then @@ -19,6 +23,10 @@ post_install() { echo "" echo -e "\e[1;33m==>\e[0m \e[1;31m filebot -script fn:properties --def net.filebot.archive.extractor=ShellExecutables \e[0m" echo "" + echo "Set default file manager to pre-install file manager" + echo $_xdg_mime_default + xdg-mime default $_xdg_mime_default inode/directory + echo "" } pre_upgrade() { |