mirror of
https://github.com/kristoferssolo/karbs.git
synced 2025-10-21 19:00:35 +00:00
Deletes repos folder every time
This commit is contained in:
parent
d5c39e4144
commit
90a9f6463f
1
karbs
1
karbs
@ -38,6 +38,7 @@ manualinstall() {
|
||||
# Should be run after repodir is created and var is set.
|
||||
pacman -Qq "$1" && return 0
|
||||
pacman -S --noconfirm rust-src git wget fakeroot
|
||||
rm -rf "${repodir:?}/$1"
|
||||
sudo -u "$username" mkdir -p "$repodir/$1"
|
||||
sudo -u "$username" git -C "$repodir" clone --depth 1 --single-branch \
|
||||
--no-tags -q "https://aur.archlinux.org/$1.git" "$repodir/$1" ||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user