mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-08 01:10:26 +00:00
correction evaluate_openrc()
This commit is contained in:
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…
Reference in New Issue
Block a user