Files
nushell/post_remove.sh
T
2025-09-28 19:10:26 +03:00

9 lines
184 B
Bash

#!/bin/bash
SHELL="nu"
if grep "${SHELL}" "$BPM_ROOT"/etc/shells; then
sed -i "\|/bin/${SHELL}|d" "$BPM_ROOT"/etc/shells
sed -i "\|/usr/bin/${SHELL}|d" "$BPM_ROOT"/etc/shells
fi