add old ebuilds from svn ub0rlay
[ub0rlay.git] / net-www / jDownloader / files / jDownloader
blob721cf352709e6fab1615384fa6a5c87e86327dcc
1 #! /bin/bash
3 [ -d "$HOME/bin" ] || mkdir -p "$HOME/bin"
4 [ -d "$HOME/bin/jDownloader" ] || cp -r /opt/jDownloader $HOME/bin/
6 target="jDownloader"
8 [ -n "$1" ] && [ -e "$HOME/bin/$1" ] && {
9 target=$1
10 shift
11 }
13 cd $HOME/bin/$target/
14 java -jar JDownloader.jar "$@"