Changeset b149d10 for postlfs/config


Ignore:
Timestamp:
05/20/2021 07:16:35 AM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
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.