forked from artix/artools
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
f06ac2c369
|
|||
|
736bac6dd7
|
|||
|
1fd3b796c5
|
@@ -55,8 +55,16 @@ configure_calamares(){
|
||||
if [[ -d "$mods" ]];then
|
||||
msg2 "Configuring: Calamares"
|
||||
write_services_"${INITSYS}"_conf "$mods"
|
||||
sed -e "s|services-openrc|services-${INITSYS}|" \
|
||||
-i "$1"/etc/calamares/settings.conf
|
||||
sed -e "s|-openrc|-${INITSYS}|" -i "$1"/etc/calamares/settings.conf
|
||||
if [[ -f "$mods"/netstrap.conf ]]; then
|
||||
sed -e "s|-openrc|-${INITSYS}|g" -i "$mods"/netstrap.conf
|
||||
fi
|
||||
if [[ -f "$mods"/netinstall.conf ]]; then
|
||||
sed -e "s|netinstall-openrc|netinstall-${INITSYS}|" -i "$mods"/netinstall.conf
|
||||
fi
|
||||
if [[ -f "$mods"/netinstall.yaml ]]; then
|
||||
sed -e "s|-openrc|-${INITSYS}|g" -i "$mods"/netinstall.yaml
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user