set_timezone rm posix, KDE doesn't seem to like it

merge-requests/273/head
Bernhard Landauer 8 years ago
parent 7c9b49eaae
commit cbab0dfede

@ -77,7 +77,7 @@ set_timezone() {
DIALOG " $_ConfBseTimeHC " --yesno "$_TimeZQ ${ZONE}/${SUBZONE}?" 0 0
if [[ $? -eq 0 ]]; then
arch_chroot "ln -sf /usr/share/zoneinfo/posix/${ZONE}/${SUBZONE} /etc/localtime" 2>$ERR
arch_chroot "ln -sf /usr/share/zoneinfo/${ZONE}/${SUBZONE} /etc/localtime" 2>$ERR
check_for_error "$FUNCNAME" "$?"
else
config_base_menu
@ -679,7 +679,7 @@ setup_graphics_card() {
sed -i 's/MODULES=""/MODULES="nouveau"/' ${MOUNTPOINT}/etc/mkinitcpio.conf
fi
check_for_error "$FUNCNAME" "$?"
check_for_error "$FUNCNAME $(cat /tmp/.driver)" "$?"
install_graphics_menu
}

@ -172,17 +172,19 @@ install_manjaro_de_wm() {
# remove zsh
sed -i '/^zsh$/d' /tmp/.edition
check_for_error "install pkgs: $(cat /tmp/.desktop)" "$?"
# basestrap the parsed package list to the new root
basestrap -i ${MOUNTPOINT} $(cat /tmp/.edition /usr/share/manjaro-architect/package-lists/input-drivers | sort | uniq)
basestrap -i ${MOUNTPOINT} $(cat /tmp/.edition /usr/share/manjaro-architect/package-lists/input-drivers | sort | uniq) 2>$ERR
check_for_error "install pkgs: $(cat /tmp/.desktop)" "$?"
# copy the profile overlay to the new root
echo "Copying overlay files to the new root"
cp -r "$overlay"* ${MOUNTPOINT} 2>$ERR
check_for_error "${overlay}* ${MOUNTPOINT}" "$?"
check_for_error "copy overlay" "$?"
# Copy settings to root account
cp -ar $MOUNTPOINT/etc/skel/. $MOUNTPOINT/root/
cp -ar $MOUNTPOINT/etc/skel/. $MOUNTPOINT/root/ 2>$ERR
check_for_error "copy root config" "$?"
# copy settings to already created users
if [[ -e "$(echo /mnt/home/*)" ]]; then
for home in $(echo $MOUNTPOINT/home/*); do

Loading…
Cancel
Save