Changeset b149d10


Ignore:
Timestamp:
05/20/2021 07:16:35 AM (4 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
trunk
Children:
e9b9a70
Parents:
95a55b4a
Message:

profile: update for merged /usr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/profile.xml

    r95a55b4a rb149d10  
    155155
    156156# Set the initial path
    157 export PATH=/bin:/usr/bin
     157export PATH=/usr/bin
     158
     159# Attempt to provide backward compatibility with LFS earlier than 11
     160if [ ! -L /bin ]; then
     161        pathappend /bin
     162fi
    158163
    159164if [ $EUID -eq 0 ] ; then
    160         pathappend /sbin:/usr/sbin
     165        pathappend /usr/sbin
     166        if [ ! -L /sbin ]; then
     167                pathappend /sbin
     168        fi
    161169        unset HISTFILE
    162170fi
Note: See TracChangeset for help on using the changeset viewer.