Skip to content

Commit

Permalink
Capitallsss
Browse files Browse the repository at this point in the history
  • Loading branch information
bechampion committed May 31, 2024
1 parent 6aecaf7 commit 2d56e8e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
6 changes: 6 additions & 0 deletions command.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@
2024/05/31 09:25:33 Command: /tmp/go-build1797216622/b001/exe/main Arguments:
2024/05/31 09:28:18 Command: /tmp/go-build1422432308/b001/exe/main Arguments:
2024/05/31 09:37:28 Command: /tmp/go-build3506614206/b001/exe/main Arguments:
2024/05/31 10:40:52 Command: ./hipx Arguments:
2024/05/31 10:41:10 Command: ./hipx Arguments:
2024/05/31 10:41:17 Command: ./hipx Arguments:
2024/05/31 10:45:57 Command: ./hipx Arguments:
2024/05/31 10:46:25 Command: ./hipx Arguments:
2024/05/31 11:08:01 Command: ./hipx Arguments:
18 changes: 9 additions & 9 deletions others/others.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ func GetPackageManager() ([]ctypes.ListEntry) {
}

packageManagers := map[string]string{
"debian": "apt",
"ubuntu": "apt",
"centos": "yum",
"fedora": "dnf",
"rhel": "yum",
"arch": "pacman",
"manjaro": "pacman",
"opensuse": "zypper",
"suse": "zypper",
"Debian": "apt",
"Ubuntu": "apt",
"Centos": "yum",
"Fedora": "dnf",
"RedHat": "yum",
"Arch": "pacman",
"Manjaro": "pacman",
"Opensuse": "zypper",
"Suse": "zypper",
}

if pkgManager, found := packageManagers[distro]; found {
Expand Down

0 comments on commit 2d56e8e

Please sign in to comment.