Update manjaro-architect

merge-requests/273/head
Chrysostomus 7 years ago committed by GitHub
parent a8f7d3f3bd
commit 318e964557

@ -2228,7 +2228,9 @@ install_manjaro_de_wm() {
sed -i '/>multilib/d' /tmp/.edition
fi
# Remove >extra tags
sed -i '/>extra/d' /tmp/.edition
sed -i 's/>extra //g' /tmp/.edition
# Remove >basic tags
sed -i 's/>basic //g' /tmp/.edition
# Remove commented lines
# remove everything except the first word of every lines
sed -i 's/\s.*$//' /tmp/.edition
@ -2259,6 +2261,8 @@ install_manjaro_de_wm() {
if [[ -e /tmp/.openrc ]]; then
eval $(grep -e "enable_openrc=" $profile | sed 's/# //g')
echo "${enable_openrc[@]}" > /tmp/.services
echo /mnt/etc/init.d/* | xargs -n1 | cut -d/ -f5 > /tmp/.available_services
grep -f /tmp/.available_services /tmp/.services > /tmp/.fix && mv /tmp/.fix /tmp/.services
for service in "(cat /tmp/.services)" ; do
arch_chroot "rc-update add $service"
done

Loading…
Cancel
Save