Skip to content

Commit 524c237

Browse files
committed
fixup! fixup! wip: add support for xx-dnf
1 parent 5cc79a6 commit 524c237

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Diff for: src/test_helper.bash

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
#!/usr/bin/env bash
22

3-
. /etc/os-release
4-
53
pkg() {
4+
. /etc/os-release
5+
66
case "${op}" in
77
add|install)
88
alpine_op="add"
99
op="install"
1010
apt_opts="--no-install-recommends"
11-
opts=""
1211
;;
1312
del|remove)
1413
alpine_op="del"
1514
op="remove"
1615
apt_opts="--autoremove"
17-
opts="2>/dev/null || true"
1816
;;
1917
*)
2018
printf "Unknown op"

0 commit comments

Comments
 (0)