Changeset View
Changeset View
Standalone View
Standalone View
www/jdownloader/files/jdownloader
- This file was added.
#!/bin/sh | |||||
if [ `whoami` = "root" ] | |||||
then | |||||
echo "Please dont run JDownloader as root." | |||||
exit | |||||
else | |||||
if [ -e "/usr/home/$USER/.local/share/jdownloader/JDownloader.jar" ] | |||||
tobik: Use `$HOME`? | |||||
then | |||||
java -jar "/usr/home/$USER/.local/share/jdownloader/JDownloader.jar" | |||||
else | |||||
mkdir "/usr/home/$USER/.local/share/jdownloader" | |||||
cd "/usr/home/$USER/.local/share/jdownloader" | |||||
fetch "http://installer.jdownloader.org/JDownloader.jar" | |||||
java -jar "/usr/home/$USER/.local/share/jdownloader/JDownloader.jar" | |||||
tobikUnsubmitted Not Done Inline ActionsThis is so strange. The port just installs a script and desktop entry that fetches JDownloader.jar without verifying it in anyway. Why does the port not package the jar too? Its updater can probably be disabled somehow. tobik: This is so strange. The port just installs a script and desktop entry that fetches `JDownloader. | |||||
Alexander88207_protonmail.comAuthorUnsubmitted Not Done Inline ActionsEven it uses its own updater the jar file still gets changes this would result in updating dist files endlessly. Should i use my own mirror instead? Alexander88207_protonmail.com: Even it uses its own updater the jar file still gets changes this would result in updating dist… | |||||
Alexander88207_protonmail.comAuthorUnsubmitted Not Done Inline ActionsThis file is like fetching something from a main/master repository. Alexander88207_protonmail.com: This file is like fetching something from a main/master repository. | |||||
fi | |||||
fi | |||||
Use $HOME?