dotnet / dotnet/installer

dotnet 9 rpm leaves behind cli script in system etc dir during uninstall

Open
#20,479 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1.3k
Forks
437
Avg merge
3d 14h
Merged PRs (30d)
21

Description

Uninstall via `dnf remove` like following,

```bash
sudo dnf remove dotnet-sdk-9.0 dotnet-runtime-deps-9.0 --quiet --assumeyes
```

leaves behind intialization cli script `dotnet-cli-tools-bin-path.sh` in `/etc/profile.d`

check after uninstallation,

```
$ ls /etc/profile.d/*dotnet*
/etc/profile.d/dotnet-cli-tools-bin-path.sh

$ cat /etc/profile.d/dotnet-cli-tools-bin-path.sh
export PATH="$PATH:$HOME/.dotnet/tools"
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.