1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Switch from pacaur to yaourt, again

This commit is contained in:
Joe Groocock 2016-04-02 18:19:14 +01:00
parent 9120ae6d07
commit 88c191665c
6 changed files with 24 additions and 40 deletions

View File

@ -5,7 +5,7 @@ import os
button = os.environ.get('BLOCK_BUTTON') button = os.environ.get('BLOCK_BUTTON')
if button == '1': if button == '1':
os.system("i3-sensible-terminal -e 'pacaur -Syu'") os.system("i3-sensible-terminal -e 'yaourt -Syua'")
updates = commands.getstatusoutput("/usr/bin/checkupdates | wc -l")[1] updates = commands.getstatusoutput("/usr/bin/checkupdates | wc -l")[1]
if updates and updates != '0': if updates and updates != '0':

View File

@ -1,10 +0,0 @@
#!/bin/bash
displaybuildfiles=none # display build files (none|diff|full)
sudoloop=false # prevent sudo timeout
#editor="${EDITOR:-vi}" # build files editor
#fallback=true # pacman fallback to the AUR
#silent=false # silence output
#sortby=popularity # sort method (name|votes|popularity)
#sortorder=descending # sort order (ascending|descending)

View File

@ -35,7 +35,7 @@ alias cp="rsync -poghb --backup-dir=/tmp/rsync -e /dev/null --progress --"
# System aliases # System aliases
alias s=systemd alias s=systemd
alias p=pacaur alias y=yaourt
alias ps='ps aux' alias ps='ps aux'
# File default aliases # File default aliases

View File

@ -8,7 +8,6 @@ btrfs-progs
clang clang
cmake cmake
compton compton
cower
cowsay cowsay
dosfstools dosfstools
dropbox dropbox
@ -16,7 +15,6 @@ dunst
efibootmgr efibootmgr
eog eog
evince evince
expac
feh feh
firefox firefox
gdmap gdmap
@ -53,7 +51,6 @@ ntfs-3g
nvidia nvidia
oh-my-zsh-git oh-my-zsh-git
openssh openssh
pacaur
pavucontrol pavucontrol
powertop powertop
powerline-fonts-git powerline-fonts-git
@ -84,5 +81,6 @@ xorg-xev
xorg-xinit xorg-xinit
xorg-xrdb xorg-xrdb
xtitle xtitle
yaourt
zsh zsh
zsh-syntax-highlighting zsh-syntax-highlighting

View File

@ -1,25 +0,0 @@
if [[ $EUID -eq 0 ]]; then
echo "You cannot run makepkg as root."
echo "Please run this script again as a non-elevated user"
exit 1
fi
# Install dependencies
sudo pacman -S --asdeps git curl yajl gnupg
mkdir cower && cd cower
# Get PGP keys so it builds
gpg --recv-keys --keyserver hkp://pgp.mit.edu 1EB2638FF56C0C53
# Fetch, build and install cower
curl https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=cower > PKGBUILD
makepkg -sri
# Fetch, build and install pacaur
cd .. && mkdir pacaur && cd pacaur
curl https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=pacaur > PKGBUILD
makepkg -sri
cd ..
rm -rf cower pacaur

21
scripts/install-yaourt Executable file
View File

@ -0,0 +1,21 @@
if [[ $EUID -eq 0 ]]; then
echo "You cannot run makepkg as root."
echo "Please run this script again as a non-elevated user"
exit 1
fi
# Install git dependency
sudo pacman -S --asdeps git
cd /tmp
git clone https://aur.archlinux.org/package-query.git
cd package-query
makepkg -sri
cd ..
git clone https://aur.archlinux.org/yaourt.git
cd yaourt
makepkg -sri
cd ..
rm -rf package-query yaourt