diff options
Diffstat (limited to 'configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh')
-rwxr-xr-x | configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh b/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh index 10c0433..cfaf4a3 100755 --- a/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh +++ b/configs/mate/root-image/root/.scriptsInstallation/language/en/install.sh @@ -32,7 +32,7 @@ partition(){ case $selection in 1) - umount /mnt &> /dev/null + umount /mnt &> /dev/null #Create msdos partition table parted -s $hdd -- mklabel msdos @@ -87,7 +87,7 @@ partition(){ esac done ;; - esac + esac } @@ -206,7 +206,7 @@ while [ option != 7 ]; do pacstrap /mnt ${packages[@]} user=$(cat ~/.scriptsInstallation/temporal | grep "userName" ) - #Copie skel in the new system and desktop's background + #Copy skel in the new system and desktop's background cp -a /etc/skel/ /mnt/etc/ cp -a /etc/wallpaper.png /mnt/etc/wallpaper.png @@ -216,6 +216,7 @@ while [ option != 7 ]; do echo "startx" >> /mnt/etc/skel/.bash_profile chmod +x /mnt/etc/skel/.xinitrc cp -a /mnt/etc/skel/.[a-z]* /mnt/home/${user#*=}/ + chmod -R ${user#*=}.${user#*=} /mnt/home/${user#*=}/ cp -a ~/.scriptsInstallation/x11.sh /mnt #Enable services with systemd |