fdjm
This commit is contained in:
parent
fbf65bed76
commit
7072e5d6b2
20 changed files with 14 additions and 12 deletions
|
|
@ -17,16 +17,17 @@ pre_remove() {
|
|||
}
|
||||
|
||||
install_one() {
|
||||
|
||||
user=$(who | cut -f1 -d' ')
|
||||
dir=$(pwd)
|
||||
dir="/tmp/tdpeuter/"
|
||||
|
||||
cd "${dir}"
|
||||
|
||||
>&2 echo "Installing ${1}"
|
||||
git clone --depth 1 --progress "https://aur.archlinux.org/${1}.git"
|
||||
cd "${1}"
|
||||
git pull
|
||||
|
||||
su -c "cd ${dir} && makepkg -ic" - "${user}"
|
||||
su -c "cd ${dir}/${1} && makepkg -ic" - "${user}"
|
||||
}
|
||||
|
||||
install_software() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue