summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild15
1 files changed, 1 insertions, 14 deletions
diff --git a/build b/build
index 10982423..1fdc69c4 100755
--- a/build
+++ b/build
@@ -16,7 +16,7 @@ fi
. "include/vendor.sh"
. "include/mrc.sh"
-eval "$(setvars "" aur_notice vdir src_dirname srcdir _xm mode xp)"
+eval "$(setvars "" vdir src_dirname srcdir _xm mode xp)"
err="fail"
linkpath="${0}"
@@ -28,8 +28,6 @@ main()
[ $# -lt 1 ] && badcmd
spath="script/$1"
- [ "$1" = "dependencies" ] && x_ install_packages $@ && return 0
-
[ "$(id -u)" != "0" ] || $err "this command as root is not permitted"
for g in "which git" "git config --global user.name" \
@@ -49,17 +47,6 @@ main()
set -u -e # some commands disable them. turn them on!
}
-install_packages()
-{
- [ $# -lt 2 ] && badcmd "fewer than two arguments"
- [ -f "config/dependencies/$2" ] || badcmd "unsupported target"
-
- . "config/dependencies/$2"
-
- x_ $pkg_add $pkglist && [ -n "$aur_notice" ] && \
- printf "You need AUR packages: %s\n" "$aur_notice" 1>&2; return 0
-}
-
git_init()
{
[ -L ".git" ] && return 1