Set default shell in install script

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2019-05-28 16:23:10 +02:00
parent f64f3efa5a
commit 3174f313b2
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4

14
install
View file

@ -33,7 +33,6 @@ DIRECTORIES=(
"music"
"pictures"
"projects"
"tasks"
"videos"
".local/share/gnupg/"
)
@ -42,7 +41,6 @@ WORK_DIRECTORIES=(
"work"
".local/log"
"downloads"
"tasks"
".local/keys"
".local/share/gnupg/"
)
@ -143,7 +141,7 @@ print_section "Installing packages"
package_count=$(< "${PACKAGES_DIR}/packages.list" wc -l)
print_log "Installing ${package_count} packages"
yay -Syy > /dev/null 2>&1
yay -S --noconfirm --needed --devel - < "${PACKAGES_DIR}/packages.list"
yay -S --noconfirm --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.list"
###############################################################################
@ -264,7 +262,6 @@ print_section "Setting lockscreen image"
betterlockscreen -u "${DOTFILES}/assets/lockscreen.${HOST}.jpg" > /dev/null 2>&1
print_log "Lockscreen generated"
###############################################################################
# Creating issue file #
###############################################################################
@ -276,4 +273,11 @@ print_section "Creating issue file"
echo '\e{reset}';
} > "/tmp/issue"
sudo install "/tmp/issue" "/etc/issue"
print_log "Issue file created"
print_log "Issue file created"
###############################################################################
# Set default shell #
###############################################################################
print_section "Set default shell"
chsh -s "/bin/zsh"
print_log "Set default shell to zsh"