Permalink
Browse files

fix for ubuntu and debian

  • Loading branch information...
serghey-rodin committed Nov 20, 2013
1 parent fb4ddfc commit 82f3f726791ed991dc250d4cee0d7f6c7be22ff6
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/v-change-user-package
@@ -136,8 +136,9 @@ fi
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
shell_conf=$(echo "$pkg_data" | grep 'SHELL' | cut -f 2 -d \')
shell=$(grep -w "$shell_conf" /etc/shells |head -n1)
/usr/bin/chsh -s "$shell" "$user" &>/dev/null
# Run template trigger
if [ -x "$VESTA/data/packages/$package.sh" ]; then

0 comments on commit 82f3f72

Please sign in to comment.