mirror of
https://github.com/kristoferssolo/karbs.git
synced 2025-10-21 19:00:35 +00:00
Fix paru install
This commit is contained in:
parent
1e2661e725
commit
8a8b1a9e96
10
karbs
10
karbs
@ -40,15 +40,9 @@ manualinstall() {
|
|||||||
pacman -S --noconfirm rust-src git wget fakeroot
|
pacman -S --noconfirm rust-src git wget fakeroot
|
||||||
rm -rf "${repodir:?}/$1"
|
rm -rf "${repodir:?}/$1"
|
||||||
sudo -u "$username" mkdir -p "$repodir/$1"
|
sudo -u "$username" mkdir -p "$repodir/$1"
|
||||||
sudo -u "$username" git -C "$repodir" clone --depth 1 --single-branch \
|
sudo -u "$username" git clone "https://aur.archlinux.org/$1.git" "$repodir/$1"
|
||||||
--no-tags -q "https://aur.archlinux.org/$1.git" "$repodir/$1" ||
|
|
||||||
{
|
|
||||||
cd "$repodir/$1" || return 1
|
|
||||||
sudo -u "$username" git pull --force origin master
|
|
||||||
}
|
|
||||||
cd "$repodir/$1" || exit 1
|
cd "$repodir/$1" || exit 1
|
||||||
sudo -u "$username" "$repodir/$1" \
|
sudo -u "$username" "$repodir/$1"makepkg -si >/dev/null 2>&1 || return 1
|
||||||
makepkg --noconfirm -si >/dev/null 2>&1 || return 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
installation() {
|
installation() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user