correction evaluate_openrc()

merge-requests/273/head
Bernhard Landauer 8 years ago
parent 084a9c1979
commit 9e9d1c62aa

@ -387,11 +387,11 @@ evaluate_profiles() {
# verify if profile is available for openrc
evaluate_openrc() {
if [[ ! $(grep ">openrc" /tmp/.edition) ]]; then
if [[ ! $(grep ">openrc" $PROFILES/*/$(cat /tmp/.desktop)/Packages-Desktop) ]]; then
DIALOG "$_ErrInit" --menu "[Manjaro-$(cat /tmp/.desktop)] $_WarnInit" 0 0 2 \
"1" "$_DiffPro" \
"2" "$_InstSystd" 2>${ANSWER}
check_for_error "selected systemd-only profile [$(cat /tmp/.desktop)] with openrc base. -> $(cat ${ANSWER})" 0
check_for_error "selected systemd-only profile [$(cat /tmp/.desktop)] with openrc base. -> $(cat ${ANSWER})"
case $(cat ${ANSWER}) in
"1") install_desktop_menu
;;

Loading…
Cancel
Save