Commit 92e0d7c0 authored by Bernhard Landauer's avatar Bernhard Landauer
Browse files

corrections

parent 1f4e0c10
......@@ -117,8 +117,7 @@ filter_packages() {
# Parse package list based on user input and remove parts that don't belong to pacman
cat "$pkgs_src" >> $pkgs_target 2>$ERR
check_for_error "$FUNCNAME" $?
if [[ -e $pkgs_target ]]; then
evaluate_openrc
if [[ -e /mnt/.openrc ]]; then
# Remove any packages tagged with >systemd and remove >openrc tags
sed -i '/>systemd/d' $pkgs_target
sed -i 's/>openrc //g' $pkgs_target
......@@ -274,7 +273,6 @@ install_base() {
done
echo " " >> /mnt/.base
fi
echo "" > /tmp/.desktop
filter_packages
# remove grub
sed -i '/grub/d' /mnt/.base
......
......@@ -149,6 +149,7 @@ install_manjaro_de_wm() {
# If something has been selected, install
if [[ $(cat /tmp/.desktop) != "" ]]; then
[[ -e /mnt/.openrc ]] && evaluate_openrc
check_for_error "selected: [Manjaro-$(cat /tmp/.desktop)]"
clear
# Source the iso-profile
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment