massive updates

This commit is contained in:
Mark Randall Havens 2025-06-06 00:03:54 -05:00
parent a1d16f2903
commit 27a5f0ff1e
28 changed files with 3174 additions and 765 deletions

View file

@ -50,8 +50,8 @@ update_path() {
# Check for duplicate PATH entries in the config file
if [[ -f "$config_file" ]]; then
# Remove any existing entries for INSTALL_DIR
sed -i.bak "/export PATH=.*$INSTALL_DIR/d" "$config_file" && rm -f "$config_file.bak"
# Remove any existing entries for INSTALL_DIR using a different delimiter
sed -i.bak "\|export PATH=.*$INSTALL_DIR|d" "$config_file" && rm -f "$config_file.bak"
info "Removed any existing $INSTALL_DIR entries from $config_file"
fi