We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e40dcb commit 0126eccCopy full SHA for 0126ecc
bin/v-change-user-package
@@ -164,8 +164,7 @@ change_user_package
164
165
# Update user shell
166
shell_conf=$(echo "$pkg_data" | grep 'SHELL' | cut -f 2 -d \')
167
-shell=$(grep -w "$shell_conf" /etc/shells |head -n1)
168
-/usr/bin/chsh -s "$shell" "$user" &>/dev/null
+$BIN/v-change-user-shell $user $shell_conf
169
170
# Run template trigger
171
if [ -x "$HESTIA/data/packages/$package.sh" ]; then
0 commit comments