You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
distros-overlay/profiles/templates/3.5/6_ac_update_sync/revision/10-old/4-migrate-CMC-CLS.env

17 lines
598 B

# Calculate exec=/bin/bash ini(overlay-distros.revision)<#-cut()-#
#-ini(overlay-distros.revision,#-cut()-#)-#
if [ ! -f /etc/portage/make.profile ]; then
if file /etc/portage/make.profile | grep /var/lib/layman/distros/profiles/CMC/amd64 > /dev/null
then
rm /etc/portage/make.profile
ln -sf ../../var/lib/layman/distros/profiles/CLS/amd64 /etc/portage/make.profile
fi
if file /etc/portage/make.profile | grep /var/lib/layman/distros/profiles/CMC/x86 > /dev/null
then
rm /etc/portage/make.profile
ln -sf ../../var/lib/layman/distros/profiles/CLS/x86 /etc/portage/make.profile
fi
fi