zero-system: update my script

This commit is contained in:
Rick Farina (Zero_Chaos) 2022-02-02 12:07:17 -05:00
parent a82d013a42
commit 49e07d612b
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC

View file

@ -2,10 +2,5 @@
if ! grep -q CPU_FLAGS_X86 /etc/portage/make.conf; then
cpuid2cpuflags | sed -e 's/: /="/' -e 's/$/"/' >> /etc/portage/make.conf
fi
PROFILE=$(eselect profile show | grep pentoo | awk '{print $1}')
unlink /etc/portage/make.profile
mkdir /etc/portage/make.profile
printf "6\n" > /etc/portage/make.profile/eapi
printf "${PROFILE}\n" > /etc/portage/make.profile/parent
printf "pentoo:pentoo/zero-system\n" >> /etc/portage/make.profile/parent
eselect profile set --force pentoo:systems/theprophet
printf "pentoo/zero-system\n" >>/var/lib/portage/world