Skip to content

Commit 90cf099

Browse files
authored
Add detection for openSUSE Leap. (#69)
Added a check for openSUSE Leap in the package manager detector section. Resolves: #68
1 parent 80c2407 commit 90cf099

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

phreaknet.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,8 @@ elif [ -f /etc/redhat-release ]; then
328328
PAC_MAN="yum"
329329
elif [ "$OS_DIST_INFO" = "SLES" ]; then
330330
PAC_MAN="zypper"
331+
elif [ "$OS_DIST_INFO" = "openSUSE Leap" ]; then
332+
PAC_MAN="zypper"
331333
elif [ "$OS_DIST_INFO" = "openSUSE Tumbleweed" ]; then
332334
PAC_MAN="zypper"
333335
elif [ -r /etc/arch-release ]; then

0 commit comments

Comments
 (0)