Skip to content

Commit 8975b9b

Browse files
committed
fix(pkg): Add missing found pkg manager log
Signed-off-by: Zeglius <[email protected]>
1 parent 2fa5bb0 commit 8975b9b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,26 @@ _args=$*
4040
####### region Detect package manager #######
4141

4242
if [ -x "$(command -v apt-get)" ]; then
43+
4344
echo >&2 "Package manager identified: apt-get"
4445
_PKG_MANAGER_install="apt-get install -q -y"
4546
_PKG_MANAGER_remove="apt-get remove -q -y"
4647

4748
elif [ -x "$(command -v dnf)" ]; then
49+
50+
echo >&2 "Package manager identified: dnf"
4851
_PKG_MANAGER_install="dnf install -yq"
4952
_PKG_MANAGER_remove="dnf remove -yq"
5053

5154
elif [ -x "$(command -v pacman)" ]; then
55+
56+
echo >&2 "Package manager identified: pacman"
5257
_PKG_MANAGER_install="pacman -S --noconfirm"
5358
_PKG_MANAGER_remove="pacman -Rs --noconfirm"
5459

5560
elif [ -x "$(command -v apk)" ]; then
61+
62+
echo >&2 "Package manager identified: apk"
5663
_PKG_MANAGER_install="apk add -q --no-cache --no-progress"
5764
_PKG_MANAGER_remove="apk del -q --no-cache --no-progress"
5865

0 commit comments

Comments
 (0)