Fix --install=local on SUSE
This commit is contained in:
11
installJRMC
11
installJRMC
@@ -269,16 +269,11 @@ init() {
|
||||
# Currently there is no remote repository for SUSE
|
||||
# installJRMC can easily create one but I'd rather a SUSEian provide it
|
||||
# So use local rpmbuild method by default for SUSE
|
||||
if [[ $# -le 2 ]]; then
|
||||
case "$1" in
|
||||
--debug| -d| --verbose| -y| --yes| --auto| --mcrepo| --mcversion| \
|
||||
--arch| --betapass| --restorefile| --outputdir| --no-update)
|
||||
debug "Automatically using --install local for SUSE"
|
||||
if ((REPO_INSTALL_SWITCH)); then
|
||||
debug "Automatically using --install=local for SUSE"
|
||||
REPO_INSTALL_SWITCH=0
|
||||
BUILD_SWITCH=1
|
||||
LOCAL_INSTALL_SWITCH=1
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
@@ -295,7 +290,7 @@ init() {
|
||||
else
|
||||
err "OS detection failed!"
|
||||
ask_ok "Continue with manual installation?" || exit 1
|
||||
debug "Automatically using --install local for unknown distro"
|
||||
debug "Automatically using --install=local for unknown distro"
|
||||
ID="unknown"
|
||||
REPO_INSTALL_SWITCH=0
|
||||
BUILD_SWITCH=1
|
||||
|
||||
Reference in New Issue
Block a user