summarylogtreecommitdiffstats
path: root/filebot.install
diff options
context:
space:
mode:
authorRoman Vasilev2024-02-13 17:28:55 +0200
committerRoman Vasilev2024-02-13 17:28:55 +0200
commit8e6a8a3f0193e5e4080c4f4bcc74691d3b62e629 (patch)
tree08c26ec9ba9bd69468e003df6faf471807a4fd4e /filebot.install
parent7a3095714ce0164b08019f3434718e3e1d0b1057 (diff)
parenteb743ccb83199f123bbf83a048c4bfe9a84a5af3 (diff)
downloadaur-8e6a8a3f0193e5e4080c4f4bcc74691d3b62e629.tar.gz
Merge branch 'bermeitinger-b-master'
Diffstat (limited to 'filebot.install')
-rw-r--r--filebot.install24
1 files changed, 10 insertions, 14 deletions
diff --git a/filebot.install b/filebot.install
index 4d90fcc89b02..46512a3d29a1 100644
--- a/filebot.install
+++ b/filebot.install
@@ -1,20 +1,16 @@
-# vim: set syntax=bash :
-pre_install () {
-if [ -d "/usr/share/filebot/openjfx" ]; then
- if [ -L "/usr/share/filebot/openjfx" ]; then
- echo "Installing"
- else
- echo "Removing /usr/share/filebot/openjfx directory leftover"
- rm -r /usr/share/filebot/openjfx
+#!/usr/bin/env bash
+pre_install() {
+ if [ -d "/usr/share/filebot/openjfx" ]; then
+ if [ -L "/usr/share/filebot/openjfx" ]; then
+ echo "Installing"
+ else
+ echo "Removing /usr/share/filebot/openjfx directory leftover"
+ rm -r /usr/share/filebot/openjfx
+ fi
fi
-fi
}
post_install() {
- # echo -e "\e[1;33m==>\e[0m Symlinking OpenJFX"
-
- # ln -sf /usr/lib/jvm/java-11-openjfx/lib/ /usr/share/filebot/openjfx
-
echo ""
echo -e "\e[1;33m==>\e[0m \e[1;31m filebot --license license.file \e[0m will activate your license.file"
echo ""
@@ -25,7 +21,7 @@ post_install() {
echo ""
}
-pre_upgrade () {
+pre_upgrade() {
pre_install "${1}"
}