aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEinhard Leichtfuß <alguien@respiranto.de>2018-04-02 05:57:59 +0200
committerEinhard Leichtfuß <alguien@respiranto.de>2018-04-02 05:57:59 +0200
commit56177d4c37ec9ebaa386b7c80b55b12a4b534818 (patch)
tree4224b0f703c4c21ae27ffe99a0e6f78ca7c6cc67
parent4ac9315e72a0df14ccbe0d89f93cd31b6ef9b238 (diff)
Use $VISUAL, if available
Also, add a few things TODO.
-rw-r--r--TODO5
-rwxr-xr-xauria.sh8
2 files changed, 12 insertions, 1 deletions
diff --git a/TODO b/TODO
index 604185c..31253f8 100644
--- a/TODO
+++ b/TODO
@@ -4,3 +4,8 @@
- get_pkgbase: There is only one pkgbase per package.
- Use git-diff instead of cp and diff.
`- Or at least use ln (instead of cp)
+- fetch PGP keys, maybe optionally.
+- "bootstrapping of packages"
+ `- see https://github.com/polygamma/aurman/wiki/Description-of-the-aurman-dependency-solving
+- Differentiate between normal and make dependencies.
+- Allow several arguments (packages) to install.
diff --git a/auria.sh b/auria.sh
index 1eb9ac5..d7bbfc3 100755
--- a/auria.sh
+++ b/auria.sh
@@ -100,7 +100,13 @@ typeset -a devel_pkgs=()
typeset -i curl_connect_timeout=5
typeset -i curl_max_time=20
-test -n "$EDITOR" && editor="$EDITOR"
+if test -v VISUAL
+then
+ editor="$VISUAL"
+elif test -v EDITOR
+then
+ editor="$EDITOR"
+fi
# Source configuration files.
test -f "$global_conffile" && . "$global_conffile"