mirror of
https://github.com/kristoferssolo/karbs.git
synced 2026-03-22 00:26:28 +00:00
Fix paru install
This commit is contained in:
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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user