Remove duplicate MOTD, source bashrc after install
- System MOTD already shows banner, bashrc one was redundant - Source bashrc immediately after copying for instant effect 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -309,6 +309,7 @@ echo " Added stegasoo to PATH"
|
||||
if [ -f "$INSTALL_DIR/rpi/skel/.bashrc" ]; then
|
||||
if ! grep -q "Stegasoo Pi" ~/.bashrc 2>/dev/null; then
|
||||
cp "$INSTALL_DIR/rpi/skel/.bashrc" ~/.bashrc
|
||||
source ~/.bashrc 2>/dev/null || true
|
||||
echo " Installed custom .bashrc"
|
||||
else
|
||||
echo " Custom .bashrc already installed"
|
||||
|
||||
@@ -212,18 +212,3 @@ fi
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
# ============================================================================
|
||||
# Welcome Message (first login only)
|
||||
# ============================================================================
|
||||
|
||||
if [ -z "$STEGASOO_WELCOMED" ]; then
|
||||
export STEGASOO_WELCOMED=1
|
||||
echo ""
|
||||
echo -e "\e[38;5;82m ___ _____ ___ ___ _ ___ ___ ___\e[0m"
|
||||
echo -e "\e[38;5;82m / __||_ _|| __| / __| /_\\ / __| / _ \\ / _ \\\e[0m"
|
||||
echo -e "\e[38;5;82m \\__ \\ | | | _| | (_ | / _ \\ \\__ \\ | (_) || (_) |\e[0m"
|
||||
echo -e "\e[38;5;82m |___/ |_| |___| \\___//_/ \\_\\|___/ \\___/ \\___/\e[0m"
|
||||
echo ""
|
||||
echo -e "\e[38;5;245mType 'sysinfo' for system status, 'steglog' for logs\e[0m"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user