mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 23:01:02 +02:00
profile: more fixups and keep it hidden for now
This commit is contained in:
parent
c9a6509b6b
commit
a4cb4ace62
2 changed files with 7 additions and 7 deletions
|
|
@ -3,9 +3,9 @@ amd64 pentoo/hardened/linux/amd64 stable
|
|||
amd64 pentoo/hardened/linux/amd64/binary stable
|
||||
amd64 pentoo/hardened/linux/amd64/bleeding_edge dev
|
||||
#17.1 based
|
||||
amd64 pentoo/hardened/linux/amd64_r1 stable
|
||||
amd64 pentoo/hardened/linux/amd64_r1/binary stable
|
||||
amd64 pentoo/hardened/linux/amd64_r1/bleeding_edge dev
|
||||
#amd64 pentoo/hardened/linux/amd64_r1 stable
|
||||
#amd64 pentoo/hardened/linux/amd64_r1/binary stable
|
||||
#amd64 pentoo/hardened/linux/amd64_r1/bleeding_edge dev
|
||||
|
||||
x86 pentoo/hardened/linux/x86 stable
|
||||
x86 pentoo/hardened/linux/x86/binary stable
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ check_profile () {
|
|||
fi
|
||||
|
||||
|
||||
#if [ -L "/lib" ] || [ -d "/lib32" ] || [ -d "/usr/lib32" ]; then
|
||||
#if [ -L "/lib" ] || [ -e "/lib32" ] || [ -e "/usr/lib32" ]; then
|
||||
# migrate_profile
|
||||
#fi
|
||||
}
|
||||
|
|
@ -165,7 +165,7 @@ migrate_profile() {
|
|||
check_profile force
|
||||
fi
|
||||
fi
|
||||
emerge -1v /usr/lib/gcc || exit 1
|
||||
#emerge -1v /usr/lib/gcc || exit 1
|
||||
REBUILD_DIRS=""
|
||||
if [ -d "/lib32" ]; then
|
||||
REBUILD_DIRS="/lib32"
|
||||
|
|
@ -174,10 +174,10 @@ migrate_profile() {
|
|||
REBUILD_DIRS=" ${REBUILD_DIRS} /usr/lib32"
|
||||
fi
|
||||
emerge -1v --deep ${REBUILD_DIRS} "/usr/lib/llvm/*/lib32" || exit 1
|
||||
if [ -d "/lib32" ] && ! qfile /lib32; then
|
||||
if [ -L "/lib32" ] && ! qfile /lib32; then
|
||||
rm -rf "/lib32"
|
||||
fi
|
||||
if [ -d "/usr/lib32" ] && ! qfile /usr/lib32; then
|
||||
if [ -L "/usr/lib32" ] && ! qfile /usr/lib32; then
|
||||
rm -rf "/usr/lib32"
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue