Rename install-rpmbuild argument to install-rpm

This commit is contained in:
2020-04-30 10:20:02 -04:00
parent 988222540a
commit c9a9d82d3a
2 changed files with 22 additions and 17 deletions

View File

@@ -40,7 +40,7 @@ OPTIONS
Install JRiver Media Center from repository using package manager (Default)
DEB-based OSes: Official package repository
RPM-based OSes: BryanC unofficial repository
--install-rpmbuild
--install-rpm
(RPM-based OSes only) Build RPM from source DEB and install it
--rpmbuild
Build RPM from source DEB
@@ -112,14 +112,14 @@ EOF
_repoinstall="true"
fi
if _input=$(getopt -o +vdhus:c: -l install-repo,install-rpmbuild,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 +vdhus:c: -l install-repo,install-rpm,rpmbuild,outputdir:,mcversion:,restorefile:,betapass:,service-user:,service:,version,debug,help,uninstall,createrepo,createrepo-webroot:,createrepo-user:,vncpass:,display:,container: -- "$@"); then
eval set -- "$_input"
while true; do
case "$1" in
--install-repo)
_repoinstall="true"
;;
--install-rpmbuild)
--install-rpm)
_rpmbuild="true"
_rpminstall="true"
;;