local/bin/homeinit: Delete Arch Linux / pacman code.

master
Pierre Neidhardt 2019-09-27 20:31:37 +02:00
parent 2317aa0d1d
commit 465de34c48
1 changed files with 0 additions and 30 deletions

View File

@ -111,8 +111,6 @@ if inpath guix; then
mkdir -p "$(dirname "$PROFILE")"
guix package --profile="$PROFILE" --install openssh gnupg git stow password-store pinentry-tty pinentry-gtk2 cryptsetup
source "$PROFILE"/etc/profile
elif inpath pacman; then
sudo pacman --noconfirm -S --needed openssh gnupg git stow password-store
fi
@ -239,34 +237,6 @@ if inpath guix; then
# export GUIX_PACKAGE_PATH=$HOME/.guix-packages
~/.config/guix/current/bin/guix package --manifest=$HOME/.package-lists/guix-manifest.scm --keep-failed
. ~/.guix-profile/etc/profile
elif inpath pacman; then
pacman_list=""
if [ -f ~/.package-lists/arch-official ]; then
pacman_list="$(cat ~/.package-lists/arch-official)"
fi
sudo pacman --noconfirm -S --needed base base-devel $pacman_list
if ! inpath cower; then
mkdir -p /tmp/cower
pushd /tmp/cower
curl https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower > PKGBUILD
makepkg --noconfirm -si
popd
fi
if ! inpath pacaur; then
mkdir -p /tmp
cower -d pacaur
pushd /tmp/pacaur
makepkg --noconfirm -si
popd
fi
if $OPT_UPDATE && [ -f ~/.package-lists/arch-aur ]; then
pacaur --noconfirm --noedit -y --needed "$(cat ~/.package-lists/arch-aur)"
fi
pacman_list=$(pacman -Qdtq)
if [ -n "$pacman_list" ]; then
sudo pacman --noconfirm -Rs "$pacman_list"
fi
fi
section "Quicklisp"