diff --git a/native_crumbcore_v1/setup_missions.sh b/native_crumbcore_v1/setup_missions.sh index acaeb3a..eb2ee1a 100755 --- a/native_crumbcore_v1/setup_missions.sh +++ b/native_crumbcore_v1/setup_missions.sh @@ -108,10 +108,10 @@ EOF fi # 4b. Setup Role Aliases (Separate check to ensure update on existing installs) -if ! grep -q "alias dumbo" "$HOME_DIR/.bashrc"; then - cat << 'EOF' >> "$HOME_DIR/.bashrc" +EOF +fi -# 🎭 Role Shims (Global Executables) +# 5. Role Shims (Global Executables) # We use /usr/local/bin so that scripts (which ignore aliases) can also call 'dumbo', 'templatus' etc. WRAPPER="/opt/crumbforest/native_crumbcore_v1/scripts/role_wrapper.sh" ROLES_DIR="/opt/crumbforest/app/crumbforest_roles" @@ -136,8 +136,8 @@ SHIM print_info "Created shim: $role_base -> $script" fi done -fi -EOF +else + print_info "No roles directory found at $ROLES_DIR. Skipping shim generation." fi # 5. Create Systemd Service