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.

17 lines
586 B

  1. # Calculate exec=/bin/bash ini(overlay-distros.revision)<3
  2. #-ini(overlay-distros.revision,3)-#
  3. if [ ! -f /etc/portage/make.profile ]; then
  4. if file /etc/portage/make.profile | grep /var/lib/layman/distros/profiles/CLSL/amd64 > /dev/null
  5. then
  6. rm /etc/portage/make.profile
  7. ln -sf ../../var/lib/layman/distros/profiles/CLDL/amd64 /etc/portage/make.profile
  8. fi
  9. if file /etc/portage/make.profile | grep /var/lib/layman/distros/profiles/CLSL/x86 > /dev/null
  10. then
  11. rm /etc/portage/make.profile
  12. ln -sf ../../var/lib/layman/distros/profiles/CLDL/x86 /etc/portage/make.profile
  13. fi
  14. fi