Ревизия переносящая профиль

mhiretskiy
Alexander Tratsevskiy 10 years ago
parent 1df93258df
commit 0a7b3cfd31

@ -0,0 +1,13 @@
# Calculate exec=/bin/bash ini(update.revtest)<3
#-ini(update.revtest,3)-#
if [ -h /etc/portage/make.profile ]; then
Profile="/etc/portage/make.profile"
elif [ -h /etc/make.profile ]; then
Profile="/etc/make.profile"
fi
if [[ `ls -la $Profile | grep distros | grep binary` ]]; then
ln -sf $(echo `ls -la $Profile` | sed -r 's/(.*) //g' | sed -r 's/(.*)\/binary/\1/g') $Profile
fi
Loading…
Cancel
Save