Fix derp
This commit is contained in:
@@ -29,12 +29,12 @@ _printHelpAndExit() {
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
--install, -i repo|rpm
|
--install, -i repo|rpm
|
||||||
repo: Install JRiver Media Center from repository ('repo'), future updates will be handled by the system package manager
|
repo: Install MC from repository, future updates will be handled by the system package manager
|
||||||
rpm: Build and install rpm file locally ('rpm')
|
rpm: Build and install MC locally (RPM-based OSes only)
|
||||||
--build
|
--build
|
||||||
Build RPM from source DEB (no installation)
|
Build RPM from source DEB (no installation)
|
||||||
--mcversion VERSION
|
--mcversion VERSION
|
||||||
Build or install a specific version (Default: install the latest version)
|
Build or install a specific MC version, ex. "28.0.25"
|
||||||
--outputdir PATH
|
--outputdir PATH
|
||||||
Generate rpmbuild output in this directory (Default: $PWD/output)
|
Generate rpmbuild output in this directory (Default: $PWD/output)
|
||||||
--restorefile RESTOREFILE
|
--restorefile RESTOREFILE
|
||||||
@@ -253,7 +253,7 @@ _ifSudo() {
|
|||||||
_parseInput() {
|
_parseInput() {
|
||||||
debug "Running: ${FUNCNAME[0]}"
|
debug "Running: ${FUNCNAME[0]}"
|
||||||
|
|
||||||
if _input=$(getopt -o +i:vdhus:c: -l install,rpmbuild,outputdir:,mcversion:,restorefile:,betapass:,service-user:,service:,version,debug,help,uninstall,createrepo,createrepo-webroot:,createrepo-user:,vncpass:,display:,container: -- "$@"); then
|
if _input=$(getopt -o +i:vdhus:c: -l install,build,outputdir:,mcversion:,restorefile:,betapass:,service-user:,service:,version,debug,help,uninstall,createrepo,createrepo-webroot:,createrepo-user:,vncpass:,display:,container: -- "$@"); then
|
||||||
eval set -- "$_input"
|
eval set -- "$_input"
|
||||||
while true; do
|
while true; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
|
|||||||
Reference in New Issue
Block a user