repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git]
/
napster-dl
/
napster-dl.sh
blob
062f5ea8b0f518f0c9a3a1e4c591397b4bb03f31
1
#!/bin/sh
2
3
usage
() {
4
cat
<<- EOF
5
Usage:
$0
<OPTION>
6
7
Options:
8
--cli run in shell only
9
--help show this help
10
EOF
11
}
12
13
case
"
$1
"
in
14
--help
)
15
usage
16
exit
0
17
;;
18
19
--cli
|
""
)
20
:
21
;;
22
23
*)
24
usage
25
exit
1
26
esac
27
28
cd
/
usr
/
shar
e
/
napster-dl
29
java
-jar
napster-dl.jar
"$@"