summary refs log tree commit diff
path: root/ports/test/pkg.conf
diff options
context:
space:
mode:
authorDruid520 <r.ustydruid520@proton.me>2026-08-11 18:12:24 -0700
committerDruid520 <r.ustydruid520@proton.me>2026-08-11 18:12:24 -0700
commit3dc4c90bbab3838eeef1ed5ab54f6fc5ed833aed (patch)
tree9fdba678776a21cf8e42387c75568fd81a4413e0 /ports/test/pkg.conf
parent7166f04ef0668e9b36c08cf37a8006ab4bf2b0e3 (diff)
MOD: cleanup and updt
Diffstat (limited to 'ports/test/pkg.conf')
-rw-r--r--ports/test/pkg.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/ports/test/pkg.conf b/ports/test/pkg.conf new file mode 100644 index 0000000..ccc7ea7 --- /dev/null +++ b/ports/test/pkg.conf
@@ -0,0 +1,29 @@
1pkg_name="test"
2pkg_license="GPL-3.0-or-later"
3pkg_ver="1.0.0"
4pkg_repo="no-repo"
5
6war() {
7 echo "warn: $1" >&2
8}
9die() {
10 echo "err: $1" >&2
11 exit 1
12}
13ok() {
14 echo "ok: $1" >&2
15}
16if command -v doas >/dev/null 2>&1; then
17 rx() {
18 doas "$@"
19 }
20 return
21elif command -v sudo >/dev/null 2>&1; then
22 rx() {
23 sudo "$@"
24 }
25 return
26else
27 die "permission elevator not found."
28fi
29