mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
change shell on package change
This commit is contained in:
parent
0d9e7d06ec
commit
852f937acc
2 changed files with 8 additions and 0 deletions
|
@ -133,6 +133,10 @@ fi
|
|||
# Changing user package
|
||||
change_user_package
|
||||
|
||||
# Update user shell
|
||||
shell_path=$(/usr/bin/chsh --list-shells | grep -w "$SHELL" |head -n1)
|
||||
/usr/bin/chsh -s "$shell_path" "$user" &>/dev/null
|
||||
|
||||
|
||||
#----------------------------------------------------------#
|
||||
# Vesta #
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue