[pacman] keep old packages for auru
The choice to remove these packages should be up to the administrator. Having an old -git package around after experiencing an upstream issue is always handy.
This commit is contained in:
parent
1f0ed84938
commit
1801faf39c
1 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
# download and build AUR package
|
# download and build AUR package
|
||||||
aurb() {
|
aurb() {
|
||||||
git clone https://aur.archlinux.org/${1}.git && cd ${1} && makepkg -sci
|
git clone https://aur.archlinux.org/${1}.git && cd ${1} && makepkg --clean --install --syncdeps
|
||||||
}
|
}
|
||||||
|
|
||||||
# only download aur package; do not build
|
# only download aur package; do not build
|
||||||
|
@ -16,5 +16,5 @@ aurd() {
|
||||||
#NOTE: this is will remove any unstashed/uncommitted changes.
|
#NOTE: this is will remove any unstashed/uncommitted changes.
|
||||||
# due to how makepkg will update the PKGBUILD, a git pull alone will not suffice.
|
# due to how makepkg will update the PKGBUILD, a git pull alone will not suffice.
|
||||||
auru() {
|
auru() {
|
||||||
git reset HEAD --hard && git pull && rm -f *.pkg.tar.xz || true && makepkg -sci
|
git reset HEAD --hard && git pull && makepkg --clean --force --install --syncdeps --cleanbuild
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue