aboutsummaryrefslogtreecommitdiff
path: root/aurinstall.sh
diff options
context:
space:
mode:
authorLorenzo Castelli <lcastelli@google.com>2018-10-23 14:26:17 -0700
committerLorenzo Castelli <lcastelli@google.com>2018-10-24 11:12:35 -0700
commit3e72d05138bfed064b4100c0186c635eddddb577 (patch)
tree7bc525311a3ede73de89a4a64bfe4b67ec351c13 /aurinstall.sh
parent419bf9d7c345a2478c78a1f1b664da3fb693fb0d (diff)
downloadcompute-archlinux-image-builder-3e72d05138bfed064b4100c0186c635eddddb577.tar.xz
Brings the project up to date with a new bash implementation.
See the updated README for more information about images generated by the new script.
Diffstat (limited to 'aurinstall.sh')
-rwxr-xr-xaurinstall.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/aurinstall.sh b/aurinstall.sh
deleted file mode 100755
index 22656ae..0000000
--- a/aurinstall.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-InstallFromAur() {
- local package_url="https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=$1"
- local working_dir=${PWD}
- local temp_dir=`mktemp -d`
- cd ${temp_dir}
- wget -O ${temp_dir}/PKGBUILD ${package_url} -nv
- makepkg
- sudo pacman -U `ls *.tar*`
- rm ${temp_dir} -rf
- cd ${working_dir}
-}
-
-for package in "$@"
-do
- InstallFromAur "${package}"
-done