summary refs log tree commit diff
path: root/template
diff options
context:
space:
mode:
authorDruid520 <r.ustydruid520@proton.me>2026-08-11 21:36:20 -0700
committerDruid520 <r.ustydruid520@proton.me>2026-08-11 21:36:20 -0700
commit62064861678dd0635e37b08ffdd8bec0316bb67a (patch)
treed414dd8ee298e277539a6e1bcf6e79fee1222117 /template
parent3dc4c90bbab3838eeef1ed5ab54f6fc5ed833aed (diff)
MOD: update, too lazy to finish commit, its 10~pm
Diffstat (limited to 'template')
-rw-r--r--template/pkg.conf26
1 files changed, 0 insertions, 26 deletions
diff --git a/template/pkg.conf b/template/pkg.conf index a0df82c..dce02ca 100644 --- a/template/pkg.conf +++ b/template/pkg.conf
@@ -1,29 +1,3 @@
1pkg_name="template" 1pkg_name="template"
2pkg_license="GPL-3.0-or-later" 2pkg_license="GPL-3.0-or-later"
3pkg_ver="1.0.0" 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