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