mirror of
https://github.com/archlinux/aur.git
synced 2026-02-07 12:41:55 +01:00
34 lines
1.3 KiB
Text
34 lines
1.3 KiB
Text
post_install() {
|
|
echo -e "\e[1;33m==>\e[0m Symlinking OpenJFX"
|
|
ln -sf /usr/lib/jvm/java-11-openjdk/lib/javafx.* /usr/share/filebot/openjfx/
|
|
echo ""
|
|
|
|
echo -e "\e[1;33m==>\e[0m This version of Filebot is using Java 11+"
|
|
echo -e "\e[1;33m==>\e[0m Java 8 dependency could be removed"
|
|
echo ""
|
|
|
|
echo -e "\e[1;33m==>\e[0m As of Filebot 4.9.2 and this comment (\e[1;36m https://github.com/arch-noob/filebot/issues/12#issuecomment-704131387 \e[0m)"
|
|
echo -e "\e[1;33m==>\e[0m \e[0;37m liberica-jdk-full-bin \e[0m is absolutely required as Java runtime"
|
|
echo ""
|
|
|
|
echo -e "\e[1;33m==>\e[0m if you use another JDK or runtime (experimental and not recommended) you \e[1;31m must \e[0m also install OpenJFX"
|
|
echo -e "\e[1;33m==>\e[0m \e[1;36m https://wiki.archlinux.org/index.php/Java#OpenJFX \e[0m"
|
|
echo ""
|
|
|
|
echo -e "\e[1;33m==>\e[0m \e[1;31m filebot --license license.file \e[0m will activate your license.file"
|
|
echo ""
|
|
|
|
echo -e "\e[1;33m==>\e[0m To enable system extractor for archives please run"
|
|
echo -e ""
|
|
echo -e "\e[1;33m==>\e[0m \e[1;31m filebot -script fn:properties --def net.filebot.archive.extractor=ShellExecutables \e[0m"
|
|
echo ""
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install $1
|
|
}
|
|
|
|
pre_remove() {
|
|
echo -e "\e[1;33m==>\e[0m Removing OpenJFX symlinks leftover"
|
|
rm -r /usr/share/filebot/openjfx/*
|
|
}
|