mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 02:50:26 +02:00
pentoo-updater: fix broken logic
This commit is contained in:
parent
b812421d26
commit
f7c9d6584b
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ set_ruby() {
|
|||
|
||||
check_profile () {
|
||||
if [ -L "/etc/portage/make.profile" ]; then
|
||||
if [ ! -e "/etc/portage/make.profile" ] || [ -z "${1}" ]; then
|
||||
if [ ! -e "/etc/portage/make.profile" ] || [ -n "${1}" ]; then
|
||||
failure="0"
|
||||
#profile is broken, read the symlink then try to reset it back to what it should be
|
||||
printf "Your profile needs to be reset, attempting repair...\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue