correction evaluate_openrc()

This commit is contained in:
Bernhard Landauer 2017-02-27 01:52:05 +01:00
parent 084a9c1979
commit 9e9d1c62aa

View File

@ -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
;;